7
Possible en double:
What is the best way to convert between char* and System::String in C++/CLIComment convertir char * à un système :: string^
Bonjour, J'ai une fonction dans un projet C++ en utilisant \ clr quelque chose comme:
int WINAPI dmtTest(char *pcertificate)
{
String^ sCertificate;
sCertificate = pcertificate; // how can I assign pcertificate to sCertificate?
....
}
Cela fonctionne ... en essayant de trouver la direction opposée (Chaîne à Char *) ... –