Here is my simple function:
and i have declared it in the header as follows:Code:DLLTEST_API int add(int num1, int num2) { return num1+num2; }
Code:class DLLTEST_API CDLLTest { public: CDLLTest(void); // TODO: add your methods here. DLLTEST_API int add(int num1, int num2); };





Reply With Quote