diff --git a/BlitzSteam/BlitzSteam.vcxproj b/BlitzSteam/BlitzSteam.vcxproj index f42de66..e6d4c1f 100644 --- a/BlitzSteam/BlitzSteam.vcxproj +++ b/BlitzSteam/BlitzSteam.vcxproj @@ -40,16 +40,18 @@ - $(SolutionDir)\Build\$(ProjectName)\$(Configuration)\ - $(SolutionDir)\Intermediate\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Build\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Intermediate\$(ProjectName)\$(Configuration)\ .dll true + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); - $(SolutionDir)\Build\$(ProjectName)\$(Configuration)\ - $(SolutionDir)\Intermediate\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Build\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Intermediate\$(ProjectName)\$(Configuration)\ .dll true + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); @@ -70,14 +72,14 @@ false false false - true - true - - + false + false + false false false + StdCall true @@ -96,7 +98,7 @@ Level3 Full - true + false true @@ -110,14 +112,14 @@ false false false - true - - + false + false false Default false + StdCall false diff --git a/BlitzUtility/BlitzUtility.vcxproj b/BlitzUtility/BlitzUtility.vcxproj index 300466a..5ae5c0e 100644 --- a/BlitzUtility/BlitzUtility.vcxproj +++ b/BlitzUtility/BlitzUtility.vcxproj @@ -39,14 +39,16 @@ - $(SolutionDir)\Build\$(ProjectName)\$(Configuration)\ - $(SolutionDir)\Intermediate\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Build\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Intermediate\$(ProjectName)\$(Configuration)\ true + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); - $(SolutionDir)\Build\$(ProjectName)\$(Configuration)\ - $(SolutionDir)\Intermediate\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Build\$(ProjectName)\$(Configuration)\ + $(SolutionDir)\#Intermediate\$(ProjectName)\$(Configuration)\ true + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); @@ -63,15 +65,15 @@ false - - - true - true + false + false + false true false false false false + StdCall true @@ -100,15 +102,15 @@ Default false - - - true + false + false false - true + false true false false false + StdCall false @@ -138,9 +140,14 @@ + + Cdecl + CompileAsC + Cdecl + CompileAsC + - diff --git a/BlitzUtility/BlitzUtility.vcxproj.filters b/BlitzUtility/BlitzUtility.vcxproj.filters index b7f0490..b3b4796 100644 --- a/BlitzUtility/BlitzUtility.vcxproj.filters +++ b/BlitzUtility/BlitzUtility.vcxproj.filters @@ -31,9 +31,6 @@ Source Files\Database\SQLite - - Source Files\Database\SQLite - Source Files\Math @@ -52,6 +49,9 @@ Source Files\Utility + + Source Files\Database\SQLite + diff --git a/BlitzUtility/Database/SQLite/sqlite3.c b/BlitzUtility/Database/SQLite/sqlite3.c index 8f74be1..66fbec6 100644 --- a/BlitzUtility/Database/SQLite/sqlite3.c +++ b/BlitzUtility/Database/SQLite/sqlite3.c @@ -262,7 +262,7 @@ extern "C" { # define SQLITE_CDECL #endif #ifndef SQLITE_STDCALL -# define SQLITE_STDCALL +# define SQLITE_STDCALL __cdecl #endif /* diff --git a/BlitzUtility/Database/SQLite/sqlite3.h b/BlitzUtility/Database/SQLite/sqlite3.h index 035b948..5039b75 100644 --- a/BlitzUtility/Database/SQLite/sqlite3.h +++ b/BlitzUtility/Database/SQLite/sqlite3.h @@ -55,7 +55,7 @@ extern "C" { # define SQLITE_CDECL #endif #ifndef SQLITE_STDCALL -# define SQLITE_STDCALL +# define SQLITE_STDCALL __cdecl #endif /* diff --git a/BlitzUtility/Utility/WindowMessageHandler.cpp b/BlitzUtility/Utility/WindowMessageHandler.cpp index 5407b91..63dd4c1 100644 --- a/BlitzUtility/Utility/WindowMessageHandler.cpp +++ b/BlitzUtility/Utility/WindowMessageHandler.cpp @@ -52,6 +52,7 @@ DLL_EXPORT void WindowMessageHandler_Install(HWND hwnd) { UserData->oUserData = SetWindowLong(hwnd, GWL_USERDATA, (LONG)UserData); } } +#pragma comment(linker, "/EXPORT:WindowMessageHandler_Install=_WindowMessageHandler_Install@4") DLL_EXPORT void WindowMessageHandler_Uninstall(HWND hwnd) { if (hwnd) { @@ -63,6 +64,7 @@ DLL_EXPORT void WindowMessageHandler_Uninstall(HWND hwnd) { } } } +#pragma comment(linker, "/EXPORT:WindowMessageHandler_Uninstall=_WindowMessageHandler_Uninstall@4") DLL_EXPORT int WindowMessageHandler_Message_Resize(HWND hwnd, LPPOINT point) { if (hwnd) { @@ -77,6 +79,7 @@ DLL_EXPORT int WindowMessageHandler_Message_Resize(HWND hwnd, LPPOINT point) { } return 0; } +#pragma comment(linker, "/EXPORT:WindowMessageHandler_Message_Resize=_WindowMessageHandler_Message_Resize@8") DLL_EXPORT int WindowMessageHandler_Message_Destroy(HWND hwnd) { if (hwnd) { @@ -89,6 +92,7 @@ DLL_EXPORT int WindowMessageHandler_Message_Destroy(HWND hwnd) { } return 0; } +#pragma comment(linker, "/EXPORT:WindowMessageHandler_Message_Destroy=_WindowMessageHandler_Message_Destroy@4") DLL_EXPORT int WindowMessageHandler_Message_Close(HWND hwnd) { if (hwnd) { @@ -101,4 +105,5 @@ DLL_EXPORT int WindowMessageHandler_Message_Close(HWND hwnd) { } return 0; } +#pragma comment(linker, "/EXPORT:WindowMessageHandler_Message_Close=_WindowMessageHandler_Message_Close@4")