forked from Public-Mirror/Textractor
remove random dependencies
This commit is contained in:
parent
47dccbf218
commit
c5d847f310
@ -96,8 +96,8 @@ target_compile_definitions(${PROJECT_NAME}
|
|||||||
target_link_libraries(${PROJECT_NAME}
|
target_link_libraries(${PROJECT_NAME}
|
||||||
profile
|
profile
|
||||||
vnrhost
|
vnrhost
|
||||||
ithsys
|
#ithsys
|
||||||
${WDK_HOME}/lib/wxp/i386/ntdll.lib
|
#${WDK_HOME}/lib/wxp/i386/ntdll.lib
|
||||||
comctl32.lib
|
comctl32.lib
|
||||||
psapi.lib
|
psapi.lib
|
||||||
)
|
)
|
||||||
|
@ -210,8 +210,6 @@ LONG WINAPI UnhandledExcept(_EXCEPTION_POINTERS *ExceptionInfo)
|
|||||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||||
{
|
{
|
||||||
InitCommonControls();
|
InitCommonControls();
|
||||||
if (!IthInitSystemService())
|
|
||||||
TerminateProcess(GetCurrentProcess(), 0);
|
|
||||||
CreateMutex(NULL, TRUE, L"ITH_MAIN_RUNNING");
|
CreateMutex(NULL, TRUE, L"ITH_MAIN_RUNNING");
|
||||||
if (OpenHost())
|
if (OpenHost())
|
||||||
{
|
{
|
||||||
@ -246,6 +244,5 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
FindITH();
|
FindITH();
|
||||||
}
|
}
|
||||||
CloseHost();
|
CloseHost();
|
||||||
IthCloseSystemService();
|
|
||||||
TerminateProcess(GetCurrentProcess(), 0);
|
TerminateProcess(GetCurrentProcess(), 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user