Code: Alles auswählen
oServer := xbHTTPServer():New( INADDR_ANY, nPort)
Moderator: Moderatoren
Code: Alles auswählen
oServer := xbHTTPServer():New( INADDR_ANY, nPort)
Code: Alles auswählen
oError:args :
-> VALTYPE: N VALUE: 2070815
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Parameter hat falschen Wert
oError:filename :
oError:genCode : 1
oError:operation : W2BIN
oError:osCode : 0
oError:severity : 2
oError:subCode : 1024
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from __SOCKADDRENCODE(1896)
Called from XBSOCKET:BIND(2465)
Called from XBSERVER:INIT(3287)
Called from XBHTTPSERVER:INIT(3711)
Called from HTTPSERVER(533)
Called from STARTSERVICE(435)
Called from MAIN(315)
Windows XMartin Altmann hat geschrieben: ↑Mi, 18. Okt 2017 20:38Hat sicherlich was damit zu tun, dass es die ...W- und ...A-API-Aufrufe nicht mehr gibt!
Viele Grüße,Boris Borzic hat geschrieben:I can confirm that there is a problem.
As far as I can tell there is a problem with 2 functions in the Windows 10 Fall Creator Update. The 2 functions are: htons & ntohs. Both of these functions take 16-bit unsigned integer input and return the same. The problem is the functions in the Fall Creator Update are returning a 32-bit value instead! I think as an optimization (or possibly oversight) some programmer at MS must have eliminated a step to clear the 32bit register prior to populating it with a 16bit value.
I'm working on a fix which will be compatible with all versions of windows.
For the time being, I suggest you advise your customers to hold off on installing the Windows 10 Fall Creator Update.
--
Best regards,
Boris Borzic