Reputation: 2059
I am trying to create a Windows dll out of a few visual c++ projects that I am working on. My larger goal is to create a dll that can be linked by clients without worrying(too much) about the nuances of how my dll was compiled.
I did structure my project such that classes are exported based on the ideas mentioned here: http://www.codeproject.com/Articles/28969/HowTo-Export-C-classes-from-a-DLL
Upvotes: 1
Views: 229
Reputation: 6324
Have a look at the Best Practices for Creating DLLs, this is basic stuff but often ignored issues that can lead to very ugly side effects.
Upvotes: 0
Reputation: 1388
Some point witch crosses my mind.
Upvotes: 1