Jump to content
  • Advertisement
Sign in to follow this  
Misery

how to create (MinGW & Code Blocks g++) dll?

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

Hi,

I am trying to create a simple dll containing class.
And I am unable to do it. I am following tutorials and I get three possible results:
- linking errors,
-program works but doesn't see dll contents,
- i get WinMain@16 or aggregate error from g++.

Is there any working tutorial on how to make DLL in MinGW, MinGW with Code Blocks etc?

source code: http://www.mingw.org/wiki/sampleDLL did work, however I still don't know if this build release or debug builds, etc

Why cannot this be done in the Borland C++ manner?

Thanks in advance,
Regards Edited by Misery

Share this post


Link to post
Share on other sites
Advertisement

source code: http://www.mingw.org/wiki/sampleDLL did work, however I still don't know if this build release or debug builds, etc

It is up to you to decide what "release or debug builds" actually are by adding additional compiler flags, for example.


Why cannot this be done in the Borland C++ manner?
[/quote]
There's no requirement in the C or C++ standards for any implementation to behave like Borland does.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!