Custom entry point.
This commit is contained in:
parent
77d67f7d2e
commit
4d4b88ab29
10
src/Main.cpp
10
src/Main.cpp
@ -123,3 +123,13 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
MUtils::Startup::startup(argc, argv, mixp_main, "MediaInfoXP", false);
|
MUtils::Startup::startup(argc, argv, mixp_main, "MediaInfoXP", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
int mainCRTStartup(void);
|
||||||
|
|
||||||
|
int mxp_entry_point(void)
|
||||||
|
{
|
||||||
|
return mainCRTStartup();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -59,11 +59,11 @@ REM ///////////////////////////////////////////////////////////////////////////
|
|||||||
echo ---------------------------------------------------------------------
|
echo ---------------------------------------------------------------------
|
||||||
echo BEGIN BUILD
|
echo BEGIN BUILD
|
||||||
echo ---------------------------------------------------------------------
|
echo ---------------------------------------------------------------------
|
||||||
MSBuild.exe /property:Configuration=release /target:clean "%~dp0\MediaInfoXP.sln"
|
MSBuild.exe /property:Configuration=release_static /target:clean "%~dp0\MediaInfoXP.sln"
|
||||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||||
MSBuild.exe /property:Configuration=release /target:rebuild "%~dp0\MediaInfoXP.sln"
|
MSBuild.exe /property:Configuration=release_static /target:rebuild "%~dp0\MediaInfoXP.sln"
|
||||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||||
MSBuild.exe /property:Configuration=release /target:build "%~dp0\MediaInfoXP.sln"
|
MSBuild.exe /property:Configuration=release_static /target:build "%~dp0\MediaInfoXP.sln"
|
||||||
if not "%ERRORLEVEL%"=="0" goto BuildError
|
if not "%ERRORLEVEL%"=="0" goto BuildError
|
||||||
|
|
||||||
REM ///////////////////////////////////////////////////////////////////////////
|
REM ///////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user