Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addobject and build as a DLL
Message
From
08/11/2000 17:48:31
 
 
To
08/11/2000 17:25:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00439424
Message ID:
00439463
Views:
13
>Is that mean when a COM use the ADDOBJECT it hides the new created object. Why would they(microsoft) do that?

It's not that it hides it. For VFP (or any other IDispatch COM client) to see a member of a COM object, it has to be defined in its TypeLib, which is created at compile-time. Since your object does not exist at compiled time, It is not included in the Typelib. Adding a property to the top-level object and using that property to reference the created object will work just fine.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform