Jump to content
  • Advertisement

Archived

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

Cecil

DLL files

This topic is 6634 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

Anyone know of any tutorials or books that can teach me how to create .dll files to use in my window programs? What program would I use to create them? Would a standard text editor work just as well? -Cecil

Share this post


Link to post
Share on other sites
Advertisement
You can use Visual Studio to make DLLs, just start a new project of type Dynamic Link Library (DLL)

Basically, you write functions, without a main() or WinMain() (although there is a DllMain() for advanced features) and then export the functions...

You can then link to the library with the .lib file created by the compiler or using LoadLibrary() and GetProcAddress().

I havn't got a proper tutorial or anything, but I learnt from the Win32 API help, its all in there.

If you have any problems post again or mail me, I'll be glad to give you some source or just some advice.

Hope It Helps

Edited by - vallis on June 16, 2000 1:11:02 PM

Share this post


Link to post
Share on other sites
Just found these on flipcode too:

Creating And Using DLLs
http://www.flipcode.com/tutorials/tut_dll01.shtml

Using Interfaces With DLLs
http://www.thepeel.com/void/tutorials/tut4-dll.htm

Havn''t read them myself, so I can''t comment on the quality of the articles...

Share this post


Link to post
Share on other sites
I use assembler for my DLL''s although most people want to use some version of C or C++. But if your interested in assembler check out win32asm.cjb.net


It has many nice tutorials on assembler including creating a DLL. (Which I''ve done, works well!)

Hope that helped!
See ya,
Ben

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!