Export (0) Print
Expand All

Compiler Error C2731

Visual Studio 6.0

'identifier' : function cannot be overloaded

The functions main, WinMain, and LibMain cannot be overloaded.

The following is an example of this error:

extern "C" void WinMain(int, char *, char *);
void WinMain(int, short, char *, char*);       // error
Show:
© 2015 Microsoft