what specifics are stopping you to use FPC/Laz ?
I use software protection dongles originally from Rainbow Sentinel.
There is an SDK to interface with the driver they provide, and it works in Delphi7.
But when I try to port even the simplest application from D7 to Fpc it won't build because the SDK provides an obj file that implements all the API calls into the driver and the obj file generates an error when linking...
I have even gotten an updated SDK from the company with a new obj file, but that too fails. The syntax check completes successfully but when I compile I get the linker error where Fpc does not get to grips with the obj file.
There are 2 different obj files depending on the type of Delphi compiler, one for 32 bit (like Delphi7) and one for 64 bit Delphi.
I stopped using Delphi before it went 64 bit so I cannot check it.
So my "solution" now seems to be to implement a mini IPC server in Delphi7, which talks to the driver via the API provided (this works with the obj file).
In this I will translate all the used calls from the main application to the driver and send these as commands via the IPC channel.
So I need to implement the server with Delphi7 (32bit) and the client with Fpc/Lazarus (64 bit) using some kind of IPC channel.
Never done this before so I am on unknown grounds.
1) Can it be done?
2) What kind of object can I use that exists in both D7 and FPC 3.2.2?
3) Can it even be done at all? I mean 32bit <=>64bit?