diff --git a/CMakeLists.txt b/CMakeLists.txt index cc8a03f..466681a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/gui/main.cpp b/gui/main.cpp index 70381e2..b16079b 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -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); }