[fpc-pascal] IPC/SHMGET and Multiple Variables

Marco van de Voort marcov at stack.nl
Sun Nov 25 17:27:02 CET 2007


> I want to use IPC Shared Memory mecanism to enable communication between 
> Linux processes. I followed doc example 
> (http://community.freepascal.org:10000/docs-html/rtl/ipc/shmctl) which 
> works fine.
> However I'm unable to find how the handle multiple variables (or may be 
> an array).

Stuff everything into a (static, no ansistrings!) record, and then make sure
that the constant segszie of the example is as large as the record. 




More information about the fpc-pascal mailing list