From c5d847f310a7fb4bb98c8c476c008ee0d435da05 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Wed, 13 Jun 2018 00:52:44 -0400 Subject: [PATCH] remove random dependencies --- CMakeLists.txt | 4 ++-- gui/main.cpp | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) 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); }