Home > database >  Httpsendrequest () returns 1, please grant instruction
Httpsendrequest () returns 1, please grant instruction

Time:09-24

InternetOpen and InternetConnect HttpOpenRequest can correctly handle return

The Function ulong HttpSendRequest (ulong hRequest, ref string lpszHeaders, ulong dwHeadersLength, ref string lpOptional, ulong dwOptionalLength) Library "WININET. DLL" Alias for "HttpSendRequestA; ANSI
"

String lpszHeaders

String lpOptional

SetNull (lpszHeaders)
SetNull (lpOptional)
Will=HttpSendRequest (iis5, lpszHeaders, 0, lpOptional, 0)


Always return 1, please master myself

CodePudding user response:

In the final add

Int li_nErr
Li_nErr=GetLastError ()

Have a look at what's wrong

CodePudding user response:

126

CodePudding user response:

  • Related