Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass String Data Between App Using SendMessage
Message
De
21/07/2000 08:47:52
 
 
À
21/07/2000 07:27:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00395247
Message ID:
00395344
Vues:
9
You could build a C/C++ DLL with a data segment amongst all processes that load the image and have it act as some kind of broker (thinking out loud :-)). I am however in total agreement with Ed's reply(s), a lot easier with a lot less to go wrong.

Example:

// Make a new shared section.
#pragma data_seg(".shared")
char szSomeData[] = "ABCD";
#pragma data_seg()


Don't forget to tell the linker about it in the flags with the Read, Write and Shared switches:-

/SECTION:.shared,RWS
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform