S
Stefan Tappertzhofen
Hello NG,
I've got a problem with function parameters. Here is my first class:
class MyClass1
{
public:
double dFoo(MyClass2* , double);
};
The function dFoo is implementated as:
double MyClass1::dFoo(MyClass2* ptCls2, double dTimer)
{
// (...)
}
My problem is that I have to call the function MyClass1::dFoo in class
MyClass2:
void MyClass2::vBaa(void)
{
double dXYZ= MyClass1::dFoo(this, dAnyTime);
}
But this doesn't work with Visual Studio 2005. Is there anybody who can help
me?
Regards,
Stefan
I've got a problem with function parameters. Here is my first class:
class MyClass1
{
public:
double dFoo(MyClass2* , double);
};
The function dFoo is implementated as:
double MyClass1::dFoo(MyClass2* ptCls2, double dTimer)
{
// (...)
}
My problem is that I have to call the function MyClass1::dFoo in class
MyClass2:
void MyClass2::vBaa(void)
{
double dXYZ= MyClass1::dFoo(this, dAnyTime);
}
But this doesn't work with Visual Studio 2005. Is there anybody who can help
me?
Regards,
Stefan