I have defined the class in C++ file as
__declspec(dllexport) int clsName ::CreateDocument(char* filein, char* fileout, char* config)
where clsName is the class name
But after I compiled the code and use the dll in .net code I am getting a run time error
"Unable to find an entry point named 'CreateDocument' in DLL"
Is there anything I am missing.