[fpc-pascal] how to pass PChar (or any pointer) from Delphi to FPC ?

Alexey Pavluchenko pavluchenko at isp.kiev.ua
Tue Apr 4 13:21:05 CEST 2006

Hello Пётр,

Tuesday, April 04, 2006, 11:48:33 AM, you wrote:

ПК> I can transfer information from Delphi program to FPC, but they
ПК> have different memory managers or something, so pointers are the
ПК> same numbers, but different physical addressed. It doesn't sound
ПК> extraordinary, so, please, help with example or anything!

Maybe the memory-mapped files will help. Look up WinAPI reference for
CreateFileMapping and related functions.

Best regards,

More information about the fpc-pascal mailing list