Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Third-Party COM-Server: Class definition is not found
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Third-Party COM-Server: Class definition is not found
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01015562
Message ID:
01015562
Vues:
83
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform