Well i'm a newb when it comes to dll's it seem that you can either use a def file or declare the exports within the dll header file. Well this is just a starter dll.
My def file has to contain this info,
So how do i decalre this in the cpp instead Somewhere within this statement?Code:LIBRARY "project1.dll" EXPORTS xorString
Code:#ifndef _DLL_H_ #define _DLL_H_ #if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) #else /* Not BUILDING_DLL */ # define DLLIMPORT __declspec (dllimport) #endif /* Not BUILDING_DLL *