I'm trying to build a small native anti-cheat system for cheats ACE doesn't detect,
but I've stumbled onto a problem.
My Visual Studio 2010 gives me linker errors when I'm trying to compile the dll.
Code: Select all
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall UClass::UClass(enum ENativeConstructor,unsigned long,unsigned long,class UClass *,class UClass *,class FGuid,char const *,char const *,char const *,unsigned long,void (__cdecl*)(void *),void (__thiscall UObject::*)(void))" (__imp_??0UClass@@QAE@W4ENativeConstructor@@KKPAV0@1VFGuid@@PBD33KP6AXPAX@ZP8UObject@@AEXXZ@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall UObject::ScriptConsoleExec(char const *,class FOutputDevice &,class UObject *)" (__imp_?ScriptConsoleExec@UObject@@UAEHPBDAAVFOutputDevice@@PAV1@@Z)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl appUnwindf(char const *,...)" (__imp_?appUnwindf@@YAXPBDZZ)
1>Main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static char const * __cdecl UObject::StaticConfigName(void)" (__imp_?StaticConfigName@UObject@@SAPBDXZ)
Then when I change the definition of appUnwindf in one of the .h files, so I get "appUnwindf@@YAXPBDZZ", I still get the error.
My project files: http://speedy.sh/vmMMB/BTAC.zip
Thanks a ton if you can help me.
BTW:
I used "fixed" header files from http://kentie.net/article/d3d10drv/files/src/games.zip.
They're basically the official headers but fixed to work with visual studio.