diff --git a/BlitzPointer.cpp b/BlitzPointer.cpp index 43c4544..b2d7195 100644 --- a/BlitzPointer.cpp +++ b/BlitzPointer.cpp @@ -17,6 +17,7 @@ // Idea take from Code by Noodoby // New Code by Xaymar +#pragma once #include "BlitzPointer.h" DLL_METHOD intptr_t DLL_CALL BP_GetReturnAddress() { diff --git a/BlitzPointer.vcxproj b/BlitzPointer.vcxproj index 295f591..2579ac7 100644 --- a/BlitzPointer.vcxproj +++ b/BlitzPointer.vcxproj @@ -42,20 +42,20 @@ $(SolutionDir)\#Build\$(ProjectName)\$(Configuration)\ $(SolutionDir)\#Intermediate\$(ProjectName)\$(Configuration)\ .dll - true + false $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); $(SolutionDir)\#Build\$(ProjectName)\$(Configuration)\ $(SolutionDir)\#Intermediate\$(ProjectName)\$(Configuration)\ .dll - true + false $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); Level3 - Disabled + Full $(SolutionDir);$(ProjectDir) @@ -75,16 +75,28 @@ false false - Disabled + AnySuitable false Cdecl + true + Speed + true + NoExtensions + false + true true 1.0 + Enabled + false + false + + false + @@ -113,17 +125,25 @@ AnySuitable false Cdecl + true + NoExtensions + false + true false - - + false 1.0 + Enabled + false + + false + diff --git a/dllmain.h b/dllmain.h index 5050b46..f825c9c 100644 --- a/dllmain.h +++ b/dllmain.h @@ -23,9 +23,5 @@ #include // Macros -#ifndef IMPORT -#define DLL_METHOD extern "C" //__declspec(dllexport) -#else -#define DLL_METHOD extern "C" __declspec(dllimport) -#endif +#define DLL_METHOD extern "C" #define DLL_CALL __stdcall \ No newline at end of file