Click to See Complete Forum and Search --> : Help! Method of an OLE-server doesn't work!


Vlad Gotsev
April 21st, 1999, 03:29 PM
Hi!

I have an OLE-server (created with Visual FoxPro 5.0) - I can use any its method from Visual Basic, but not from VC++. What's wrong?

// class created by ClassWizard from TLB-file
MY_SERVER srv;

srv.CreateDispatch("my_server.REGISTRY_NAME");
CString str = srv.GetClass(); // works fine
str.START(); // here I got a COleException - ...MEMBER_E_NOTFOUND????

Help me, please to run it properly.
Vlad.