First of all i didn't want to open a new topic for this but i pressed the post comment instead of "post reply"... i'm Really Sorry...
My wrapper works perfectly in GDK but i want to build SPARK as a dll for DBPro too but i got some errors.
-I have added the SPK_ALL.cpp and SPK_DX9_ALL.cpp to my dll project
Everything works fine (i can compile the dll and have access to all classes) until i use DX9Info::setPool somewhere in my code.I got the following error message:
- Code:
-
error LNK2001: unresolved external symbol "public: static void __cdecl SPK::DX9::DX9Info::setPool(enum _D3DPOOL)" (?setPool@DX9Info@DX9@SPK@@SAXW4_D3DPOOL@@@Z)
Everything works fine when i compile the same project as an *.exe or *.lib
what shall i do ? Any help appreciated...
----------------------------------------
EDIT:
Oh i have downloaded spark from svn and it seems that DX9Info::setPool is now obsolete.
Anyway i got it working !! SPARK Works perfectly in Dbpro !!
Regards !