Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Third-Party COM-Server: Class definition is not found
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Third-Party COM-Server: Class definition is not found
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01015562
Message ID:
01015562
Views:
82
Hello,

what can be the reason for the following behavior:

I've got a third-party COM-Server (written not in VFP) called GXMLTBV2.exe. After registering it with
GXMLTBV2.exe /regserver 
the Object Browser in VFP sees the new Type Library GXMLTBV200 with a lot of classes. One of them is called GXML_GAEB. In an Excel-Macro it is enough to write
DIM oGAEB as GXML_GAEB
Set oGAEB = New GXML_GAEB
to use all methods of this class.

But VFP itself doesn't let me to instantiate the class. I have tried
oGAEB = CreateObject("GXML_GAEB") 

and

oGAEB = CreateObject("GXMLTBV200.GXML_GAEB"),
but always with the same result - "Class definition is not found".

Does anyone have an idea? Thanks for any help...
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Next
Reply
Map
View

Click here to load this message in the networking platform