Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL registered but unable to access class.
Message
 
À
08/03/2006 13:38:30
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01102521
Message ID:
01102553
Vues:
18
>>Try
>>
>>loPolyLine = CREATEOBJECT("MoHelper.MultiShape")
>>loPolyLine.Init(poPoints, pnPartCount, pnNumParts)
>>...
>>
>
>Unfortunately, any call (with or without parameters) to NewObject() or CreateObject() returns the "Class Definition MoHelper.MultiShape not found" error.
>
>BTW: The VB code I am converting runs without error.
>
>TC

Todd, Why not open this DLL with Object browser and see what is the real name of that COM? Sometimes name used in VB is not the same in VFP (I couldn't remember an example righ now, but I am sure I see that thing)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform