• Page:
  • 1

TOPIC: Winhttp in Delphi tokyo 10.2.3

Winhttp in Delphi tokyo 10.2.3 1 week 4 days ago #13550

I found that my code from 10.1 can not be compiled in 10.2 when using the winhttp api
I noticed that there are changes in winapi.WinHttp in 10.2.3 : eg
function WinHttpQueryDataAvailable(hRequest: HINTERNET; lpdwNumberOfBytesAvailable: LPDWORD): BOOL; stdcall;
In 10.1 the same function is declared as:
function WinHttpQueryDataAvailable(hRequest: HInternet; var lpdwNumberofBytesAvailable): BOOL;
The problem is that using a DWORD variable and passing its pointer gives unpredictable results.....

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: April Anne