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 / DLL help

Author
Message
CAJUN57
16
Years of Service
User Offline
Joined: 29th May 2008
Location:
Posted: 20th Jun 2008 18:13
I know this is not the right place to be asking this,
but could somone please tell me how to access the fuctions i wrote in a dll, and a static library.

Thanks

elantzb
16
Years of Service
User Offline
Joined: 10th May 2008
Location: Classified
Posted: 21st Jun 2008 04:37 Edited at: 21st Jun 2008 04:42
well, you can either mess with your project properties, or add the following lines to your code:

You just need the static library and the header file for its functions.

DLLs are much more complicated. I don't have any experience with them.

Someone throw us a bone?
CAJUN57
16
Years of Service
User Offline
Joined: 29th May 2008
Location:
Posted: 21st Jun 2008 05:16
when you use


do you have to include the lib with the project when you distribute it??

elantzb
16
Years of Service
User Offline
Joined: 10th May 2008
Location: Classified
Posted: 21st Jun 2008 05:17 Edited at: 21st Jun 2008 05:18
you can mess around with the prject settings to tell it where the lib and header can be found, but putting it in the same directory is a sure shot.

edit: yes
elantzb
16
Years of Service
User Offline
Joined: 10th May 2008
Location: Classified
Posted: 21st Jun 2008 05:21 Edited at: 21st Jun 2008 05:21
elantzb
16
Years of Service
User Offline
Joined: 10th May 2008
Location: Classified
Posted: 21st Jun 2008 05:56
i don't know what i was thinking. no, you don't need to redistribute the lib or header.

Login to post a reply

Server time is: 2024-09-29 23:32:42
Your offset time is: 2024-09-29 23:32:42