Archived

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

HellRiZZer

Functions in DLL and LIBs.

Recommended Posts

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