Do I really need to put this in all of the function I want to be exported? Is there any neat way to do this?
Thanks
This is a discussion on __declspec(dllexport) within the C++ Programming forums, part of the General Programming Boards category; Do I really need to put this in all of the function I want to be exported? Is there any ...
Do I really need to put this in all of the function I want to be exported? Is there any neat way to do this?
Thanks
That will help to make it more neat and tidy.Code:#define DLLEXPORT __declspec(dllexport)
Then use the following for all functions:
Code:DLLEXPORT double function(void)