>I have changed all  cdecl  into stdcall
        but without luck...

      
      >Did you change the calling convention for both the import and the
      export
> 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
> Windows (makes a difference only on i386
      as for ARM and x86_64 (and
> other CPUs) stdcall maps to cdecl))

    
    
      >Does the fpc-32 bit libraries work only on a
        Windows-32bit system 
>(or did i do something wrong ?)
>Will it be the same for Linux-32bit (inside a multi-arch 64bit
        
>system) ?
        

      
    
    >Without some code it's hard to tell what the problem might be.
    Normally it 
>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. 

Many thanks Sven.

I have changed stdcall <> cdecl in both import-export, with no luck.
I will do a "Hello World" library to see if problem is still there (because the 
code of uos is big.).

See you later with the result.

Fred

                                          
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to