[Lazarus] Mac OS X : Using TOpenDialog to select a Mac Application...

dominique at savagesoftwaresolutions.com dominique at savagesoftwaresolutions.com
Mon Jul 27 22:34:26 CEST 2009


It would seem I am unable to load any Laz generated WinCE library (dll) that 
'uses' the 'Interfaces' unit.

Any pointers on where or how to track this down would be very much 
appreciated. (really)

Thanks - SteveG

> I am having problems loading a dll with WinCE
>
> my library code (cut down) ------------------------------------------
> Library LxLibA01;
> {$mode objfpc}{$H+}
>
> uses Interfaces;
>
> function  LxLibCmd_Str( LxDst, LxRefStr :string; LxTimeOut :integer;
> LxCallBack :string;  LxArgs :array of string; LxOpts :array of string )
>
> :string;
>
> begin
>   Result := '4';
> end;
>
> exports LxLibCmd_Str;
> my library code (cut down) ------------------------------------------
>
>
> I use 'LoadLibrary' to load this dll, and the same code works under Win32
> and Lin32.
> It seems the 'uses' of 'Interfaces' is where the problem lies, as it works
> ok as long as I dont include 'Interfaces' in the library - unfortunatly I
> need this unit for other calls withing the library.
>
> any suggestions appreciated (muchly)
>
> using WinXP / FPC 2.2.5 / Laz 0.9.27 (2009-07-22) - WinCE addon same date
>
> Thanks - SteveG
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list