Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access running VFP COM
Message
From
25/06/2008 11:19:47
 
 
To
25/06/2008 09:52:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01326415
Message ID:
01326636
Views:
20
Not sure how is what you are saying is related to what I am asking.
Can you elaborate?

>When you run an exe even classes defined as olepublic are not necessarily instantiated as public OLE objects. If you CreateObject("YourOlePublicClass") with the simple VFP class name the normal VFP class instanciation is in effect. Only if you instanciate it with the OLE class name (typically "YourExeFileName.YourOlePublicClass") it will be visible to OLE and eg GetObject.
>
>Therefore, if you want to make your exe available for OLE automation, you need more than make all it's classes OLEPUBLIC and recompile.
>
>Take a look here:
>http://blogs.msdn.com/calvin_hsia/archive/2006/04/07/570958.aspx
>
>Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform