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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus