[Lazarus] Using WineLib with FreePascal or Lazarus?

Razvan Adrian Bogdan lightningflash at gmail.com
Sun Nov 8 18:19:52 CET 2009


On Sun, Nov 8, 2009 at 2:05 AM, <dominique at savagesoftwaresolutions.com>wrote:

> Hi all,
>  Does anyone here have experience with using WineLib with FPC or Lazarus?
> Basically a company's application, that I'm doing a tender for, has
> licensed a Win32 DLL that they do not have the source for. They want their
> Delphi application ported to Mac OS X and Linux.
>
> Tests show that using Wine/CrossOver that the DLL calls work correctly.
> What I'd like to do is Compile an FPC application with WineLib so that we
> can continue using this DLL.
>
> The only other possibility would be to create C or Lazarus shared object
> that links to WineLib which in turn, talks to the DLL. Then my app would
> call the Shared Object on both Mac OS X and Linux and WineLib would do its
> magic.
>
> Are either of these solutions possible? Is there a flaw in my plan?
>

If it works in C, it should work in FPC, i'm not sure how many calls are
needed for WineLib, Kylix used it and i don't think there should be any
major problems, but if performance is important a replacement (native)
library should be better.

Razvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091108/dad4d06e/attachment-0004.html>


More information about the Lazarus mailing list