U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Dynamic Libraries __declspec(dllexport)
Dynamic Libraries __declspec(dllexport) [message #42114] Fri, 21 February 2014 14:36
Yeti86 is currently offline  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
Previous Topic: ProtectEncrypt and MySQL
Next Topic: Pointer on Labels defined in lay.h
Goto Forum:
  


Current Time: Wed May 20 20:40:22 GMT+2 2026

Total time taken to generate the page: 0.00507 seconds