GetPet()
Posted: Sun May 16, 2004 4:24 pm
With latest ( May 14 2004 19:23:36 ) release, I can't use the "GetPet()" function anymore in plugins... getting:
when trying to build.
MQ2Plugin.h (which is being included) includes MQ2Main.h, which does contain the declaration for GetGet()... so it's really very strange. =/
If I try to add the declaration for GetPet() (PSPAWNINFO GetPet(DWORD ID);) to the cpp file, I get an "inconsistent DLL linkage" error.
Edit: smilies
Code: Select all
error LNK2019: unresolved external symbol __imp__GetPet referenced in function _OnIncomingChatMQ2Plugin.h (which is being included) includes MQ2Main.h, which does contain the declaration for GetGet()... so it's really very strange. =/
If I try to add the declaration for GetPet() (PSPAWNINFO GetPet(DWORD ID);) to the cpp file, I get an "inconsistent DLL linkage" error.
Edit: smilies