diff --git a/dedicated_main/main.cpp b/dedicated_main/main.cpp index 9b812a15..6cde1586 100644 --- a/dedicated_main/main.cpp +++ b/dedicated_main/main.cpp @@ -224,7 +224,8 @@ int main( int argc, char *argv[] ) WaitForDebuggerConnect( argc, argv, 30 ); - ret = dedicated_main( argc,argv ); + int ret = dedicated_main( argc,argv ); dlclose( dedicated ); + return ret; } #endif diff --git a/utils/unittest/unittest.cpp b/utils/unittest/unittest.cpp index 0965fc4d..bee9b505 100644 --- a/utils/unittest/unittest.cpp +++ b/utils/unittest/unittest.cpp @@ -94,7 +94,7 @@ bool CUnitTestApp::Create() #ifdef WIN32 WIN32_FIND_DATA findFileData; - HANDLE hFind= FindFirstFile(LIBDIR "/tests/*.dll", &findFileData); + HANDLE hFind= FindFirstFile("bin/tests/*.dll", &findFileData); while (hFind != INVALID_HANDLE_VALUE) {