[fpc-pascal] fp universal library ?

Fred van Stappen fiens at hotmail.com
Tue Feb 11 20:29:43 CET 2014


> 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.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140211/e9547a80/attachment.html>


More information about the fpc-pascal mailing list