inet_{ntop|pton} implementation

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu Jan 24 17:31:51 CET 2008


Jarosław Staniek schrieb:
> Hello
> In kdewin32/serc/inet.c we're loading ws2_32.dll library and try to resolve 
> inet_{ntop|pton} symbols. After switching trying more strict PSDK than the one 
> from msvc2k3, namely vcee2k5sp1 (vista), I have encountered calling convention 
> failure while calling s_wsock_inet_pton(af, src, dst):
> 
> "Run-Time Check Failure #0 - The value of ESP was not properly saved across a 
> function call.  This is usually a result of calling a function declared with 
> one calling convention with a function pointer declared with a different 
> calling convention."
> 
> I am thinking about disabling the code that tries to use "system" 
> implementation of the functions in case we wont resolve the problem.
> 
> Any idea? (Christian?)
> 
Please check if the signatures are correct - I can't test it right now.


I'll try to add better implementations - already found something but
needs some testing.


Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20080124/f69fc677/attachment.pgp 


More information about the Kde-windows mailing list