Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Createobject returns error code 0x80004002
Message
 
 
To
12/12/2001 16:34:04
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00593545
Message ID:
00593598
Views:
25
>Thanks Larry for the info. So VFP only does late binding. I also have a copy of VFP 7 and tried using createobjectex and got the same error message. I guess that means it won't work.
>
>From: Ed Johnson

The 3rd parameter of CreateObjectEx gives you the ability to specify an interface. If you don't specify anything, IDispatch is used.

What is the COM object you are working with? If you have the OLE Viewer that comes with Visual Studio 6 or the Object Browser in VFP 7, you can open the type library and see what interfaces the object supports.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform