Peter Kapas wrote:
> I'd like to share common memmory for 2-3 different programs, running
> individualy. That means, when I generate values, arrays, strings, I'd 
> like to read or modify from the independently run other program.
>    
> How can I do it from Delphi 4 ?

Use a memory-mapped file. Start by reading about the CreateFileMapping 
and MapViewOfFile API functions.

Sharing actual Delphi strings will prove difficult. Strings are 
allocated using the default memory manager, which does not use shared 
memory.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to