R
rp_suman
Guest
I am using WinHttp functions for internet download in a VC++ application.
When I need to stop lengthy, time taking download for some reason, WinHttpWebSocketClose function is used.
But that function is supported from Win8 and later OS only.
So my application will throw an error "WinHttpWebSocketClose is not found in Winhttp.dll" in Win7 & older OS while launching the application.
I would like to know, can we have some code or function which can be loaded based on OS version, otherwise skip that, within the same application(not as a separate module such as dll)?
Thanks & Regards
Continue reading...
When I need to stop lengthy, time taking download for some reason, WinHttpWebSocketClose function is used.
But that function is supported from Win8 and later OS only.
So my application will throw an error "WinHttpWebSocketClose is not found in Winhttp.dll" in Win7 & older OS while launching the application.
I would like to know, can we have some code or function which can be loaded based on OS version, otherwise skip that, within the same application(not as a separate module such as dll)?
Thanks & Regards
Continue reading...