Hello Alexander, thanks for your reply, what I mean is, can one create a class in a C++ dll, and expose all of its members to VFP using the Foxinfo structure required to create a fll
example
class MyClass: CObject
{
MyClass::MyClass();
MyClass~MyClass();
int i;
MySpecialFunction1();
MySpecialFunction2();
MySpecialFunction3();
};
MyClass::MySpecialFunction1()
{
// Code Here
}
MyClass::MySpecialFunction2()
{
// Code Here
}
MyClass::MySpecialFunction3()
{
// Code Here
}
FoxInfo myFoxInfo[] =
{
{"MySpecialFunction1", (FPFI) MySpecialFunction1, 0, ""},
{"MySpecialFunction2", (FPFI) MySpecialFunction2, 0, ""},
{"MySpecialFunction3", (FPFI) MySpecialFunction3, 0, ""}
};
extern "C" {
FoxTable _FoxTable =
{
(FoxTable *) 0, sizeof(myFoxInfo)/sizeof(FoxInfo), myFoxInfo
};
}
Regards,
Peter J. Kane
Pete