Thread: __declspec(dllexport)

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    64

    __declspec(dllexport)

    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

  2. #2
    Registered User
    Join Date
    Apr 2010
    Posts
    5
    Code:
    #define DLLEXPORT __declspec(dllexport)
    That will help to make it more neat and tidy.

    Then use the following for all functions:
    Code:
    DLLEXPORT double function(void)

Popular pages Recent additions subscribe to a feed
Website Security Test