You can uses pipes too, basically just two files no need of networking, one for reading (delphi to freepascal), one for writing(freepascal to delphi).

I made last year a small app to communicate with Audacity (https://www.audacityteam.org/) using a specific plugin (https://manual.audacityteam.org/man/scripting.html).

You can find there the unit/class which manages the communication:
https://github.com/jsuzineau/pascal_o_r_mapping/blob/TjsDataContexte/tools/jsAudacity/uAudacity.pas

In my case I used pipes already created by Audacity.
For your problem I think it would be more appropriate to use FpPipe (although I personnaly never used it):

https://www.freepascal.org/docs-html/rtl/baseunix/fppipe.html

I think you will find something similar on Delphi 7 side.


--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to