> It might be better to mention the necessary compiler options (-Mobjfpc > -Sh) or even better include them directly in the respective sources. > > In addition, compiling "uoslib.pas" results in "uoslib.dll", whereas you > try to load uos.dll from libconsoleplay.pas.
Yep, sorry. But if you compile it from uoslib.lpi, it change uoslib.dll into uos.dll. Also, compiling from uoslib.lpi include extrafpc.cfg, with required compiler options. > It turns out that you missed to specify a matching calling convention for > uos_loadlib (you specified "cdecl" in uoslib_h, but not in uoslib). It > seems to work correctly after adding it at line 41 of uoslib.pas. Houraaa, magnifique, marvellous, you find it. Gigas of thanks, Tomas, you are my Hero. Of course you get a big credit in the uoslib contributors. Yep, it will be a good night for me... Many, many thanks. Fred.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal