T
trueToastedCode
Whenever i use a wstring/wchar_t in a cpp program, zip the binary, send it over to another Win machine and unzip the program, it gets blocked as a "dangerous" Win32/Wacatac.B!ml trojan - Which is obviously wrong. How do i solve this? This is completely acceptable Sample 1:int main() { const string s = "Hello World!"; const wstring ws(s.begin(), s.end()); const wchar_t *wc = ws.c_str(); wcout << wc << endl; }Sample 2:wchar_t* c2wc(const char* c) { size_t size = strlen(c) + 1; wchar_t *wc = new wchar_t[size]; size_t outSize; mbstowcs_s(&
Continue reading...
Continue reading...