Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

HellRiZZer

Functions in DLL and LIBs.

This topic is 5847 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Guest Anonymous Poster
quote:
Original post by HellRiZZer
Hey ppl, someone please can point me to a good tutorial...



all your bases are belong to us

Share this post


Link to post
Share on other sites
Sorry, didn''t look over that forum. I found the way to do it, pretty simple, what you do is you declare all functions as


  
__declspec(dllexport) void Function()
{

}


and it creates a LIB file for you from which you can access your functions from by simply including it

  
#pragma comment (lib, "your_library.lib")


That''s it.
Sorry again. )

" Do we need us? "


Ionware Productions - Games and Game Tools Development

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I think it would be more useful if you ointed him in the direction of run time dll usage. Thats probably what hes after, i cant write you up anything cos im rusty the now and neither do i have much time.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I think it would be more useful if you ointed him in the direction of run time dll usage. Thats probably what hes after, i cant write you up anything cos im rusty the now and neither do i have much time.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!