Ok, this code block also crashes Dev Studio 2008 and has nothing to do with CStrings:
Code:#define URL "https://www.google.com" int Len = strlen(URL); char Buff[1024] = {0}; CopyMemory( &Buff[0], URL, Len ); ShellExecute(NULL,_T("open"),Buff, NULL,NULL,SW_SHOW);




Reply With Quote