remove random dependencies

This commit is contained in:
Akash Mozumdar 2018-06-13 00:52:44 -04:00
parent 47dccbf218
commit c5d847f310
2 changed files with 2 additions and 5 deletions

View File

@ -96,8 +96,8 @@ target_compile_definitions(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
profile
vnrhost
ithsys
${WDK_HOME}/lib/wxp/i386/ntdll.lib
#ithsys
#${WDK_HOME}/lib/wxp/i386/ntdll.lib
comctl32.lib
psapi.lib
)

View File

@ -210,8 +210,6 @@ LONG WINAPI UnhandledExcept(_EXCEPTION_POINTERS *ExceptionInfo)
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
InitCommonControls();
if (!IthInitSystemService())
TerminateProcess(GetCurrentProcess(), 0);
CreateMutex(NULL, TRUE, L"ITH_MAIN_RUNNING");
if (OpenHost())
{
@ -246,6 +244,5 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
FindITH();
}
CloseHost();
IthCloseSystemService();
TerminateProcess(GetCurrentProcess(), 0);
}