The OssBitString takes in string length and a const unsigned char* as parameters. However, when I convert the std::string to const unsigned char* and pass it to OssBitString, the contents of the string get modified and contains weird characters. Any ideas on how to perform the conversion?
OssBitString(OSS_UINT32 length, const unsigned char *);
Aucun commentaire:
Enregistrer un commentaire