You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
many thanks!
I am running an apache server on my computer and use localhost. That's why I don't get the error message you got but instead I get the error "Access violation read to 0x0000007B in 'Wininet.dll'" i using "HttpOpenRequestW".
Have you tried another url?
Yes, even with the fixed code.
This is my code:
Interesting is that if I change "HttpOpenRequestW" to "HttpOpenRequestA" I receive also the error 12005.
Well, I don't know whether "HttpOpenRequestW" or "HttpOpenRequestA" is correct. Now I use "HttpOpenRequestA" otherwise I have the error message "Access violation read to 0x0000007B in 'Wininet.dll'".
Regarding URLs I tried so many different other URLs, even the one from your example (changed POST to GET etc.):
again as i said before something is wrong with the URL (the error codes doesn't lie) and of course i'm using "HttpOpenRequestW" and not "HttpOpenRequestA"
here is a working code (returns true and there is no error):
I tested the code on other computers and even on other computers I still get the error: "Access violation read to 0x0000007B in 'Wininet.dll'" using "HttpOpenRequestW".
It's getting really disappointing :-(.
I tested the code on other computers and even on other computers I still get the error: "Access violation read to 0x0000007B in 'Wininet.dll'" using "HttpOpenRequestW".
It's getting really disappointing :-(.
Microsoft declares
for the access parameter. I am not sure if a pointer to the string[] is compatible with it. I would try changing the string[]& to string&.
If I do the change I receive the error message "'&' - reference cannot used".