| | |
m_Test' : undeclared identifier
![]() |
•
•
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 binary bitmap business c++ c/c++ char class classes code coding commentinghelp compile console conversion count decide delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph guess gui homeworkhelp homeworkhelper iamthwee ifpug ifstream incrementoperators infinite input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem proficiency program programming project python random read recursion reference rpg string strings temperature template templates test text text-file tree url variable vector video win32 windows winsock word wordfrequency wxwidgets






