Jump to content
  • Advertisement
Sign in to follow this  
Misery

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

This topic is 2711 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!