Hello,
while doing some static code analysis I've found a weird one. On a call like this one:
if(!AfxWinInit(moduleHandle,NULL,::GetCommandLine(),0)
I get the warning C6309 at the second parameter (C6309: argument 2 is null: it does not adhere to function specification of AfxWinInit)
Docs say that for Win32 applications the second parameter must be NULL so the questions is:
a) What's wrong, my code, the AfxWinInit declaration or the static code analysis?
Thanks in advance!