Hi all,
I have a C function in my dll workspace. This function is exported from the dll. I want to return value from the function. The value is of enum type. The declaration and the defination of this enum type variable is in some different .h file. so how should i export this function and get the return value.
I have exported the function by using the following statement.
__declspec(dllexport) rs_result rdiff_sig(const char *BasisPath, const char *SigPath);
i am getting error messages and they are :
error C2146: syntax error : missing ';' before identifier 'rdiff_sig'
error C2501: 'rs_result' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
How should i solve this issue.
Please help me.
Thanks
Datta