no - that was not the problem. I have my linux running in a coLinux
session and it seems that the linker fails, when the file is in a
windows drive, even as root. other programms don't have problems to read
or write to this drive.
but there is still a strange problem with the dynamic library:
the code compiles with fpc fails, when one of the units have some
initialization code. When I move this code to an extra procedure and
call it later it works.
Is there a difference, when the initialization code of an dll is called
between delphi and fpc ?
thanks,
Adrian.
Leonardo M. Ramé schrieb:
Replace procedure HalloWelt; with
procedure HalloWelt; cdecl;
procedure HalloWelt;
begin
end;
Leonardo M. Ramé
http://leonardorame.blogspot.com
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal