Error 1 error LNK2019: unresolved external symbol "unsigned long __cdecl dbCallDLL(int,unsigned long)" (?dbCallDLL@@YAKHK@Z) referenced in function "public: void __thiscall DllObj::Call(char *)" (?Call@DllObj@@QAEXPAD@Z) DllObj.obj
Error 2 error LNK2019: unresolved external symbol "unsigned long __cdecl dbCallDLLX(int,unsigned long,unsigned long,unsigned long)" (?dbCallDLLX@@YAKHKKK@Z) referenced in function "public: unsigned long __thiscall DllObj::Call(char *,char *,int)" (?Call@DllObj@@QAEKPAD0H@Z) DllObj.obj
Error 3 error LNK2019: unresolved external symbol "int __cdecl dbDLLCallExist(int,unsigned long)" (?dbDLLCallExist@@YAHHK@Z) referenced in function "public: int __thiscall DllObj::CallExists(char *)" (?CallExists@DllObj@@QAEHPAD@Z) DllObj.obj
Error 4 fatal error LNK1120: 3 unresolved externals
Im not sure if this is due to the way I am defining these functions or if there is an issue somewhere else, that I am not seeing. Let me know if you have any light to shed on this.
DllObj.h
/*void Call(char* function);
DWORD Call(char* function, char* data, int numofparam);
int CallExists(char* function);*/
DllObj.cpp
/*void DllObj::Call(char* function)
{
dbCallDLL(this->ID, (DWORD)function);
}
DWORD DllObj::Call(char* function, char* data, int numofparam)
{
return dbCallDLLX(this->ID, (DWORD)function, (DWORD)data, (DWORD)&numofparam);
}
int DllObj::CallExists(char* function)
{
return dbDLLCallExist(this->ID, (DWORD)function);
}*/
if(enemy == Amnzero) runAway();
Amnzero->WebSite = L"http://neovance.com/";