Re: [fpc-pascal] Problem with dynamic libraries

2007-06-14 Thread Adrian Veith
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:

Re: [fpc-pascal] Problem with dynamic libraries

2007-06-13 Thread Leonardo M. Ram
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 y

[fpc-pascal] Problem with dynamic libraries

2007-06-13 Thread Adrian Veith
Hi, i have written a dll (pasForNeko) in delphi / windows which can be called from the haxe/neko language, in order to use existing object pascal code from this language. now I try to port this to fpc and linux and run into some problems: 1. I can't compile even the simplest library from fpc