Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App/Exe Build Problems when Com Interop Involved
Message
From
12/08/2009 08:09:15
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01417325
Message ID:
01417487
Views:
40
I guess if the type library changes then it will have to be tested in an app with the OLEPUBLIC statement in place and then removed for the exe build?

>It works in my applications for a few years already. I don't like that VFP creates a COM server EXE when OLEPUBLIC is specified in any class. A lot of unnecessary work when building EXE.
>You've to keep in mind that VFP will not validate your interface implementation against a type library anymore. I'm not sure if you'll get an error or EVENTHANDLER() will fail at run-time if they don't match.
>
>>Thanks that worked! I thought that without it the events wouldn't fire...but they do!
>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform