Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App/Exe Build Problems when Com Interop Involved
Message
De
12/08/2009 08:26:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01417325
Message ID:
01417499
Vues:
36
>>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's EXE build that you've to test. You can use preprocessor directives to automated that. Something like
>
>
>#IF UPPER(STREXTRACT(SYS(0), "# ", "")) == "SERGEY"
>	#DEFINE ccDfClause OLEPUBLIC
>#ELSE	
>	#DEFINE ccDfClause 
>#ENDIF	
>...
>DEFINE CLASS myclass AS session ccDfClause 
>...
>
Thanks!!!!
.·*´¨)
.·`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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform