Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with CREATEOBJECTEX
Message
From
06/07/2000 23:48:20
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00316317
Message ID:
00389303
Views:
22
>>I think (have not confirmed, but this is based on some understanding of the basics of COM at a lower level than we need to deal with from VFP), the CREATEOBJECTEX() is actually doing a CoCreateInstanceEx() call, and it excts to receive a CLSID as an argument.

You're correct here. Off the subject, but I recently read a VB article that some VB guru had written that details how to write a function that encapsulates all of the API calls necessary to use CoCreateInstanceEx and gain an actual object reference in VB, bypassing the built in VB late binding mechanics. It was pretty funny reading this 4 page article about all this VB code that gives a VB programmer a function that's already built into VFP. We, for once, have the good end of the deal.

Incidentally, I read a rumor that VB 7 will finally get its own CreateObjectEx() function.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform