On Sun, Nov 8, 2009 at 2:05 AM, <[email protected]>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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
