Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VC++ COM DLL
Message
 
 
To
03/03/2000 13:03:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00341260
Message ID:
00341350
Views:
26
>Isn't createobject() used for Visual FoxPro Classes? Should I be using createobjectex()?

No. Createobject() is used for all classes, VFP and COM alike. What classes do you have defined in your C++ DLL? Did you define it as a public class?

CreateobjectEX() creates a COM object on another machine (DCOM) but you still need a class and it has to be registered.

Check the registry using regedt32 and see if you can find your class listed in the HKEY_CLASSES_ROOT tree. If not, then it's not registered.
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform