Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'identifier' : function cannot be overloaded
The functions main
, WinMain
, DllMain
, and LibMain
cannot be overloaded.
The following sample generates C2731:
// C2731.cpp
extern "C" void WinMain(int, char *, char *);
void WinMain(int, short, char *, char*); // C2731