diff --git a/CMakeLists.txt b/CMakeLists.txt index 268576e..a3270e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,4 +34,4 @@ add_subdirectory(GUI) add_subdirectory(GUI/host) add_subdirectory(texthook) add_subdirectory(extensions) -add_subdirectory(testractor) +add_subdirectory(testbed) diff --git a/testbed/CMakeLists.txt b/testbed/CMakeLists.txt new file mode 100644 index 0000000..66c9427 --- /dev/null +++ b/testbed/CMakeLists.txt @@ -0,0 +1 @@ +add_executable(Testbed WIN32 main.cpp resource.rc) diff --git a/testractor/testractor.cpp b/testbed/main.cpp similarity index 90% rename from testractor/testractor.cpp rename to testbed/main.cpp index 29d17a9..1c99f21 100644 --- a/testractor/testractor.cpp +++ b/testbed/main.cpp @@ -4,7 +4,7 @@ wchar_t buffer[1000] = {}; std::array vars = {}; -int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE, _In_ LPWSTR, _In_ int) +int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int) { ShowWindow(CreateDialogParamW(hInstance, MAKEINTRESOURCEW(IDD_DIALOG1), NULL, [](HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) -> INT_PTR { diff --git a/testractor/resource.h b/testbed/resource.h similarity index 100% rename from testractor/resource.h rename to testbed/resource.h diff --git a/testractor/testractor.rc b/testbed/resource.rc similarity index 98% rename from testractor/testractor.rc rename to testbed/resource.rc index 611d32d..64dd59d 100644 Binary files a/testractor/testractor.rc and b/testbed/resource.rc differ diff --git a/testractor/CMakeLists.txt b/testractor/CMakeLists.txt deleted file mode 100644 index 7bca354..0000000 --- a/testractor/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_executable(Testractor WIN32 testractor.cpp testractor.rc)