Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when compiling code


#include "WinHttpClient.h"

// Set URL.
WinHttpClient client(L"http://www.codeproject.com/");

// Send HTTP request, a GET request by default.
client.SendHttpRequest();

// The response header.
wstring httpResponseHeader = client.GetResponseHeader();

// The response content.
wstring httpResponseContent = client.GetResponseContent();

// The response content.
wstring httpResponseContent = client.GetResponseContent();

from A Fully Featured Windows HTTP Wrapper in C++[^]; get the error "..\..\ThirdParty\ATLRegExp\atlrx.h: no such file or directory". the atlrx.h is at the ThirdParty\ATLRegExp\ path.

What I have tried:

copied the atlrx.h to the same folder that the .cpp file to compile is, but still same result. Using Dev-c++ 5.6.3 compiler.
Posted
Updated 18-Jun-21 22:41pm
v2

1 solution

You should post your question in the forum at the end of the article, so the author can help you.
 
Share this answer
 
Comments
T1xT 19-Jun-21 5:05am    
that article is for 11 years ago, no chance to get an answer over there. have posted this question there too, but of course havent got any response.
Richard MacCutchan 19-Jun-21 5:11am    
Then you are going to need to provide much more information about how you are building this software and where all the components are installed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900