[Solved] How to add Indy components to C++ Builder project?

[ad_1] The C++ equivalent of Delphi’s uses clause is #include statements for C++ header file. In this case, to use TIdHTTP in C++, you need an #include <IdHTTP.hpp> statement in your C++ code, and make sure Indy’s header files are in a folder in your project’s Includes search path. If you drop a TIdHTTP component … Read more

[Solved] Getting XML from response stream using Indy’s IDTCPClient [closed]

[ad_1] hmmmm, turns out it was easier than thought. I simply looked at the GenerateJSON method and said ok, How can I use this method for XML. I then googled MempryStream to String and found this function function StreamToString(aStream: TStream): string; var SS: TStringStream; begin if aStream <> nil then begin SS := TStringStream.Create(”); try … Read more