Multi Commander Support Forum

Multi Commander => SDK => Topic started by: antekgla on July 07, 2017, 04:48:38

Title: Working with API in Pascal/Lazarus/Delphi
Post by: antekgla on July 07, 2017, 04:48:38
Hi!
I made a clone of MCCopyDataSendGetSample made totally from scratch in Lazarus  (https://www.lazarus-ide.org/)(Version 1.6 FPC 3.0.0).
It has the same functionality of original.
I attach here for anyone interested in working with Multi Commander API in Pascal/Delphi/Lazarus.

For all Delphi Users the only difference is the management of the WM_COPYDATA message response from Multi Commander. It is much more easy in Delphi what in Lazarus because Lazarus does not handle messages below WM_USER automatically. This is very platform specific and lazarus is not compatible with Delphi here.