C++ interface version of HttpWebRequest and HttpWebResponse
问题 We are wondering how to use HttpWebRequest and HttpWebResponse .net framework Class in ATL c++ project is their any interface exposed for webrequest class in C++, currently we cannot have a c# project so we are looking for alternative interface. Any help will be greatly appreciated. Ramanand. 回答1: You have the following options: 1) Write your managed HttpWebRequest code into a C# file, and compile it as a DLL. Use RegAsm.exe to register it as a COM object. Use the COM object from the C/C++