Jump to content
  • Advertisement


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


how to make lib files

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

Yes, you can, but I''ve never had much luck with them (thought then again, I had no idea exactly what I was doing). Create a new project, but instead of making a new Win32 application or the like, it''ll be a Static Library if I have my names right. From there, it''s just a matter of compiling your files together.

~ Dragonus

Share this post

Link to post
Share on other sites
Yes, you can make lib''s and dll''s with VC6.0. I don''t know too much about creating just a static library (lib), but if you are creating a dll, then any functions that you want to use outside of the library have to be exported, either through the use of a .def file, or by __declspec(dllexport). I would assume that it would be the same for static libs as well, since the only real difference between dynamic libs, and static libs is that static libs are actually linked into the exe, and dynamic libs are separate files that are loaded on execution. Dynamic libs can even be loaded on the fly via LoadLibrary() allowing teh ability to create plugins. Then you link to the newly created library like any other library.


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!