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


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 on a Form/Frame/DataModule at design-time, the IDE will generate the #include statement for you. Otherwise you have to add it manually.

1

solved How to add Indy components to C++ Builder project?