Home » Community » Newbie corner » Dynamic Libraries __declspec(dllexport)
Dynamic Libraries __declspec(dllexport) [message #42114] |
Fri, 21 February 2014 14:36 |
Yeti86
Messages: 10 Registered: February 2014
|
Promising Member |
|
|
Hello everybody!
I'm working with windows. I created a headerfile with some classes and functions, but WITHOUT any __declspec(dllexport). Now I get compiler warnings. My Problem is that it would be a pain to include __declspec(dllexport) in every class and Methods and so on. Is there an alternative for global __declspec(dllexport) or something. Furhter I want to write platform independed code, so how do I create a header for windows and for Linux?
Or should I link somehow static? Does anaybody has a good link about this Topic?
Thanks in advance!
Regards
Yeti
|
|
|
Goto Forum:
Current Time: Sun Apr 27 10:27:54 CEST 2025
Total time taken to generate the page: 0.00578 seconds
|