diff --git a/build.bat b/build.bat index 86cca4e..e7892d4 100644 --- a/build.bat +++ b/build.bat @@ -1 +1 @@ -rc.exe resource.rc && cl.exe /arch:IA32 /O2 /GS- xp_activate32.cc xp_activate32.h resource.res /link /fixed /entry:entry /subsystem:windows,5.1 kernel32.lib user32.lib msvcrt.lib ole32.lib oleaut32.lib comctl32.lib +rc.exe .\src\resource.rc && cl.exe /arch:IA32 /O2 /GS- .\src\xp_activate32.cc .\src\xp_activate32.h resource.res /link /fixed /entry:entry /subsystem:windows,5.1 kernel32.lib user32.lib msvcrt.lib ole32.lib oleaut32.lib comctl32.lib diff --git a/msvcrt.lib b/src/msvcrt.lib similarity index 100% rename from msvcrt.lib rename to src/msvcrt.lib diff --git a/resource.h b/src/resource.h similarity index 100% rename from resource.h rename to src/resource.h diff --git a/resource.rc b/src/resource.rc similarity index 100% rename from resource.rc rename to src/resource.rc diff --git a/xp_activate32.cc b/src/xp_activate32.cc similarity index 100% rename from xp_activate32.cc rename to src/xp_activate32.cc diff --git a/xp_activate32.h b/src/xp_activate32.h similarity index 100% rename from xp_activate32.h rename to src/xp_activate32.h diff --git a/xp_activate32.ico b/src/xp_activate32.ico similarity index 100% rename from xp_activate32.ico rename to src/xp_activate32.ico diff --git a/xp_activate32.manifest b/src/xp_activate32.manifest similarity index 100% rename from xp_activate32.manifest rename to src/xp_activate32.manifest diff --git a/xp_activate32.vcxproj b/xp_activate32.vcxproj index 5aae423..bfd95f2 100644 --- a/xp_activate32.vcxproj +++ b/xp_activate32.vcxproj @@ -74,12 +74,14 @@ Level3 true - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;_WIN32;DEBUG;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true MultiThreadedDebug - Console + Windows + 5.01 + true true comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) @@ -90,12 +92,14 @@ true true true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;_WIN32;NDEBUG;_NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true MultiThreaded - Console + Windows + 5.01 + true true true true @@ -106,11 +110,14 @@ Level3 true - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;_WIN32;WIN64;_WIN64;DEBUG;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true + MultiThreadedDebug - Console + Windows + 5.02 + true true commctrl.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) @@ -121,11 +128,14 @@ true true true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;_WIN32;WIN64;_WIN64;NDEBUG;_NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true + MultiThreaded - Console + Windows + 5.02 + true true true true @@ -133,17 +143,17 @@ - + - + - - + + - + diff --git a/xp_activate32.vcxproj.filters b/xp_activate32.vcxproj.filters index 6792f16..51f26d3 100644 --- a/xp_activate32.vcxproj.filters +++ b/xp_activate32.vcxproj.filters @@ -15,25 +15,25 @@ - + Resource Files - + Source Files - + Header Files - + Header Files - + Resource Files