Hi
I am writing a function in C++
extern "C"
{
__declspec(dllexport) void CreateInputFilter()
{
ITestPtr pTest = createInstance<ITest>(m_Test);
}
}
But I am getting this error
m_Test' : undeclared identifier
The main thing is above this function I have written the same code above in another function but there it is working fine.
Definition of the function is
int cls ::CreateDocument(char* filein, char* fileout, char* config)
{
ITestPtr pTest = createInstance<ITest>(m_Test);
}
I am not able to understand why the error is coming in the former one.
kindly advice
Regards
Karan