#include "application.h"
#ifdef WIN32
-int APIENTRY WinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/)
+int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPSTR /*lpCmdLine*/, int /*nCmdShow*/)
{
int argc = 0;
LPWSTR *argv=CommandLineToArgvW(GetCommandLineW(), &argc);
- return Msp::Application::run(argc, (char **)argv);
+ return Msp::Application::run(argc, (char **)argv, hInstance);
}
#endif