On Thu, 18 Jun 2015 20:02:02 +0100, Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> wrote:
>On 2015-06-18 17:48, Bo Berglund wrote: >> I would not have a problem using it as a general purpose object and >> changing my programs accordingly, that would be pretty easy, provided >> I can make it work in Lazarus/FPC. > >(never tried, never used .obj files since Turbo Pascal days) > >If all else fails with using the .obj file directly with FPC, what about >using the .obj file in Delphi and create a DLL, which you can then use >from FPC. Could that work? > It might... I have thought that if I start out with Lazarus (installed but not yet started) by creating a small application where I include the sources for the dongle component after stripping out the component related stuff, then I could have a minimalistic project to figure out... Of course I could create a Delphi DLL exporting the important functions (basically those published by the component) and use that. Did not think about that kind of solution, but it would probably work. There could be a vulnerability for hacking, though, since someone couls create a fake dll with the same interface and this way circumvent our protection... -- Bo Berglund Developer in Sweden -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus