<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>>I have changed all cdecl into stdcall
but without luck...<br>
<div><div class="ecxmoz-cite-prefix">
>Did you change the calling convention for both the import and the
export<br>> code? (just a sidenote: on Linux you should use cdecl no
matter what ifnt >your library to be used by other languages
and preferably stdcall on<br>> Windows (makes a difference only on i386
as for ARM and x86_64 (and<br>> other CPUs) stdcall maps to cdecl))<br>
</div>
<blockquote cite="mid:DUB110-W153C2BF919FF9D5A892F1B8900@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style><div dir="ltr">>Does the fpc-32 bit libraries work only on a
Windows-32bit system <br>>(or did i do something wrong ?)<br>>Will it be the same for Linux-32bit (inside a multi-arch 64bit
<br>>system) ?
<br>
</div>
</blockquote>
>Without some code it's hard to tell what the problem might be.
Normally it <br>>should work, so likely there's a problem in your code
that only manifests on >Win32 or there is (less likely) a bug in the
compiler/RTL. So if you could >minimize your code as much as possible
and test then, this would be >favorable. <br><br>Many thanks Sven.<br><br>I have changed stdcall <> cdecl in both import-export, with no luck.<br>I will do a "Hello World" library to see if problem is still there (because the code of uos is big.).<br><br>See you later with the result.<br><br>Fred<br><br></div> </div></body>
</html>