Hi every one, I'm very beginer C++ Developer and I have a problem developing a OCX control that I can't know what I have to do, this is:
I have a Function like: long PlayInteger(long pDev, long pNum) that was created with the class wizard.
but this function uses four other functions, that I cannot create in class wizard because are internal functions, Until Here OK, but inside these internal funcitons I need to use another function that was created with class wizard, it's more or less this:
long MyClass::FuncA(long pP1)
{ ... }
long MyClass::FuncB(long pP2)
{
...
Ret = FuncC(0);
...
}
long FuncC(long pP3)
{
...
Aux = FuncA(56);
...
}
when I complile I receive thi error message:
on this sample line "Aux = FuncA(56);"
D:\Temp\Testes\AlcUra\AlcUraCtl.cpp(807) : error C2065: 'TocaPromptA' : undeclared identifier
someone can help me ??
very thanks,
Danilo...
I have a Function like: long PlayInteger(long pDev, long pNum) that was created with the class wizard.
but this function uses four other functions, that I cannot create in class wizard because are internal functions, Until Here OK, but inside these internal funcitons I need to use another function that was created with class wizard, it's more or less this:
long MyClass::FuncA(long pP1)
{ ... }
long MyClass::FuncB(long pP2)
{
...
Ret = FuncC(0);
...
}
long FuncC(long pP3)
{
...
Aux = FuncA(56);
...
}
when I complile I receive thi error message:
on this sample line "Aux = FuncA(56);"
D:\Temp\Testes\AlcUra\AlcUraCtl.cpp(807) : error C2065: 'TocaPromptA' : undeclared identifier
someone can help me ??
very thanks,
Danilo...