| | |
m_Test' : undeclared identifier
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2008
Posts: 46
Reputation:
Solved Threads: 0
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
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
![]() |
Other Threads in the C++ Forum
- Previous Thread: Problem in using dll in another project
- Next Thread: Simple Craps Game
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count database delete deploy developer dll download dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph gui homeworkhelp iamthwee ifstream image input int java lib library linker list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






