Linking with ISDK 29, VS 2005 (full)

Moderator: MacroQuest Developers

iluvseq
Clueless Mudslinger
Posts: 269
Joined: Mon Apr 14, 2003 10:05 am

Linking with ISDK 29, VS 2005 (full)

Post by iluvseq » Mon May 08, 2006 8:27 pm

I'm having trouble in the link stage of the compile.

I went through and converted the unsigned longs to unsigned ints in the extern function declerations in ISXEQ.cpp which got me through the compilation stage. However, when it tries to link I get the following errors:

Code: Select all

1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl SoftwareCursorService(bool,unsigned int,void *)" (?SoftwareCursorService@@YAX_NIPAX@Z) referenced in function "public: void __thiscall CISXEQ::ConnectServices(void)" (?ConnectServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl TriggerService(bool,unsigned int,void *)" (?TriggerService@@YAX_NIPAX@Z) referenced in function "public: void __thiscall CISXEQ::ConnectServices(void)" (?ConnectServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl HTTPService(bool,unsigned int,void *)" (?HTTPService@@YAX_NIPAX@Z) referenced in function "public: void __thiscall CISXEQ::ConnectServices(void)" (?ConnectServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl MemoryService(bool,unsigned int,void *)" (?MemoryService@@YAX_NIPAX@Z) referenced in function "public: void __thiscall CISXEQ::ConnectServices(void)" (?ConnectServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl PulseService(bool,unsigned int,void *)" (?PulseService@@YAX_NIPAX@Z) referenced in function "public: void __thiscall CISXEQ::ConnectServices(void)" (?ConnectServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl SpawnRequest(class ISXInterface *,unsigned int,void *)" (?SpawnRequest@@YAXPAVISXInterface@@IPAX@Z) referenced in function "public: void __thiscall CISXEQ::RegisterServices(void)" (?RegisterServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl GamestateRequest(class ISXInterface *,unsigned int,void *)" (?GamestateRequest@@YAXPAVISXInterface@@IPAX@Z) referenced in function "public: void __thiscall CISXEQ::RegisterServices(void)" (?RegisterServices@CISXEQ@@QAEXXZ)
1>ISXEQ.obj : error LNK2019: unresolved external symbol "void __cdecl ProtectionRequest(class ISXInterface *,unsigned int,void *)" (?ProtectionRequest@@YAXPAVISXInterface@@IPAX@Z) referenced in function "public: void __thiscall CISXEQ::RegisterServices(void)" (?RegisterServices@CISXEQ@@QAEXXZ)
This leads me to believe that the function declaration doesn't match the function in the vs80 lib files.

I scoured the wiki and couldn't find any description of these service functions or their interface. As an aside, I was wondering why they weren't included in the headers for ISXDK? Since they are IS services, I would think the DK would include their prototypes. Anyway, neither here nor there, but clearly setting them up like:

Code: Select all

extern void __cdecl GamestateRequest(ISXInterface *pClient, unsigned int MSG, void *lpData);
extern void __cdecl SpawnRequest(ISXInterface *pClient, unsigned int MSG, void *lpData);
isn't proper :)

Any help would be greatly appreciated. I'm using the compiled ISXEQ provided over at ismods.com, but I want to make some tweaks to various things, so I need to be able to compile my own.

Thank you.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon May 08, 2006 8:48 pm

These functions have nothing to do with the ISXDK.

The problem is that you need to change every unsigned long to unsigned int throughout the entire ISXEQ/MQ2 project -- you changed the externs but not the functions themselves.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

iluvseq
Clueless Mudslinger
Posts: 269
Joined: Mon Apr 14, 2003 10:05 am

Post by iluvseq » Mon May 08, 2006 9:03 pm

Duh, I feel stupid.

Thanks!