Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / plugins

Author
Message
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 9th Dec 2008 19:00
could anyone give me some help please i would like to be able to make plugins for dark gdk .

I know you need a header with the functions in and a lib but thats as far as it goes .

How do you make the lib, is it just the lib which is produced by the visual c++ when you build a dbpro plugin or do you need to add different code ?

thanks chunks

nvidia geforce 8600gt + amd athlon 64
windows xp pro.
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 9th Dec 2008 21:27 Edited at: 9th Dec 2008 21:36
Ok i`ve managed to do most of it by making a header with the function listings and using the lib generated by the project i used to make the db pro dll, but when i use it in a gdk project it asks for the dll i made .

it works if you add it to the project folder but i just want to use the lib and header ,how do you go about this..

thanks chunks


edit: never mind, i`ve fixed it, you just set the output to a static lib instead of a dll and it seems to work fine .

nvidia geforce 8600gt + amd athlon 64
windows xp pro.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 9th Dec 2008 22:07
You don't build a DLL, you build a static library. DBPro DLL's and the GDK are NOT compatible, and they won't work together.

Open your project properties->Configuration Properties->General and set Configuration Type to Static Library.

chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 10th Dec 2008 00:10
yeah thanks i got it ,just need to make a cool plugin now lol.

thanks chunks

nvidia geforce 8600gt + amd athlon 64
windows xp pro.

Login to post a reply

Server time is: 2024-11-25 07:58:38
Your offset time is: 2024-11-25 07:58:38