Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to share COM objects between application ?
Message
De
03/12/2003 10:07:31
 
 
À
03/12/2003 09:56:45
Roman Segaud
Laboratoires Fortepharma
Nice, France
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00855419
Message ID:
00855424
Vues:
14
This message has been marked as the solution to the initial question of the thread.
See my response to your french version of this question (message #855400)

>BUG (255683): The GETOBJECT() Function Fails When Calling a Visual FoxPro COM Server
>
>How to share the same COM objects between different application running the same computer ?
>
>I've created a multi-thread DLL (DEFINE CLASS ComCLT AS Custom OLEPUBLIC), I need to share this DLL between 2 VFP8 application, I'm using :
>
>FirstApp, oCom = CREATEOBJECT('clt_com.ComCLT') then
>in SecondApp oCom = GetOBJECT('','clt_com.ComCLT').
>
>In ComCLT :
>This.Value = ''
>
>In FirstAPP :
>oCom.Value = '1'
>
>In SecondAPP :
>oCom.Value = ''
>
>Here's my probem, I can't retrieve the modified value done by FirstApp in the oCom object in SecondApp, how to do ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform