Console applications (at least those compiled with MinGW) use it as the
entry point. MinGW has a support library to use WinMain as entry point,
but that requires a hack in builder that causes trouble with applications
that have a main() of their own.
using namespace std;
using namespace Msp;
+int main(int argc, char **argv)
+{
+ return Msp::Application::run(argc, argv);
+}
+
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/)
{
int argc = 0;