verryy veryyy thanks its work :)) thanks
DLLFUNC STRING* toHex(int number)
{
std::string s;
std::stringstream out;
stringstream stream;
stream << hex << number;
s = stream.str();
//char
char *a=new char[s.size()+1];
a[s.size()]=0;
memcpy(a,s.c_str(),s.size());
//char
return str_create(a);
}
This is my frist dll for 3dgs

hex converter
