| | |
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 array based beginner binary bitmap c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector visualstudio win32 windows winsock word wordfrequency wxwidgets






