Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL registered but unable to access class.
Message
 
To
08/03/2006 13:38:30
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102521
Message ID:
01102553
Views:
20
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform