Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Third-Party COM-Server: Class definition is not found
Message
From
18/05/2005 19:47:47
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01015562
Message ID:
01015639
Views:
22
>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...


A SWAG - CREATEOBJECTEX()?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform