+ Reply to Thread
Results 1 to 5 of 5
Thread: AGPClasses.h
-
12-15-2010 09:43 AM #1America's Army Subscriber
- Join Date
- Jun 2008
- Posts
- 128
AGPClasses.h
When I include the AGPClasses.h to support my AuxROF function, it gives me 100+ C2011 Errors, which this is just one
I'm really confused...Code:1>F:\KEEP\AA SDK's\Projects\Hack -- 2.8.5\Hack - 2.8.5\Engine\Inc\AGPClasses.h(15): error C2011: 'ESwapType' : 'enum' type redefinition 1> f:\keep\aa sdk's\projects\hack -- 2.8.5\hack - 2.8.5\AGP_Classes.h(15) : see declaration of 'ESwapType'

The only reason I included the AGPClasses.h file is I was reading and it was the solution for this error
Code:>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class UClass * __cdecl AAGP_Weapon::StaticClass(void)" (__imp_?StaticClass@AAGP_Weapon@@SAPAVUClass@@XZ) referenced in function "class AAGP_Weapon * __cdecl Cast<class AAGP_Weapon>(class UObject *)" (??$Cast@VAAGP_Weapon@@@@YAPAVAAGP_Weapon@@PAVUObject@@@Z) 1>.\Release/Entry.dll : fatal error LNK1120: 1 unresolved externals
-
12-15-2010 04:27 PM #2America's Army Subscriber
- Join Date
- May 2008
- Posts
- 777
you already have it by the looks of it.
Look at the locations
F:\KEEP\AA SDK's\Projects\Hack -- 2.8.5\Hack - 2.8.5\Engine\Inc\AGPClasses.h
f:\keep\aa sdk's\projects\hack -- 2.8.5\hack - 2.8.5\AGP_Classes.h
Can you see where you already have it?
They will both hold the same information just named a little different by the looks of it.
-
12-16-2010 02:26 AM #3America's Army Subscriber
- Join Date
- Jun 2008
- Posts
- 128
That fixed my C2011 Error and now I'm left with
This has had me stumped for hours and hours...Code:1>------ Build started: Project: Entry, Configuration: Release Win32 ------ 1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class UClass * __cdecl AAGP_Weapon::StaticClass(void)" (__imp_?StaticClass@AAGP_Weapon@@SAPAVUClass@@XZ) referenced in function "class AAGP_Weapon * __cdecl Cast<class AAGP_Weapon>(class UObject *)" (??$Cast@VAAGP_Weapon@@@@YAPAVAAGP_Weapon@@PAVUObject@@@Z) 1>.\Release/Entry.dll : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
12-16-2010 02:55 AM #4America's Army Subscriber
- Join Date
- Jun 2008
- Posts
- 128
Alright I've narrowed the problem line down to:
Error:Code:AAGP_Weapon* MyWeapon = Cast<AAGP_Weapon>(MPC->Pawn->Weapon);
Code:1> Main.cpp 1>Main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class UClass * __cdecl AAGP_Weapon::StaticClass(void)" (__imp_?StaticClass@AAGP_Weapon@@SAPAVUClass@@XZ) referenced in function "class AAGP_Weapon * __cdecl Cast<class AAGP_Weapon>(class UObject *)" (??$Cast@VAAGP_Weapon@@@@YAPAVAAGP_Weapon@@PAVUObject@@@Z) 1>.\Release/Entry.dll : fatal error LNK1120: 1 unresolved externals
-
12-16-2010 03:45 PM #5
This is simply a linker error.
This solves your problem, given that you have the corresponding library.Code:#pragma comment( lib, "AGP.lib" )
jose607: "You need to downgrade the aimbot."


LinkBack URL
About LinkBacks




Reply With Quote
