Want to use this control, just the header file contains and library files in addition to the problem, very embarrassed... Aunt asked counsel
Questions as follows:
No matter whether to include the header file
# include & lt; IdBaseComponent. Hpp>
# include & lt; IdComponent. Hpp>
# include & lt; IdHTTP. Hpp>
# include & lt; IdTCPClient. Hpp>
# include & lt; IdTCPConnection. Hpp>
Error display as follows:
Error: [ILINK32 Error] Unresolved external '__fastcall Idhttp: : TIdCustomHTTP: : Get (System: : UnicodeString)' referenced from C: \ USERS \ ADMINISTRATOR \ DESKTOP \ WANWAN \ DEBUG \ TTIDHTTP1 OBJ
Feel like I can't find all files, but I # include and lib paths are included inside indy10 folder path, and manual to search, indy10 folder also has a few. HPP file, why still go wrong?
If the connection library file is as follows:
# pragma link "IdBaseComponent
"# pragma link "IdComponent
"# pragma link "IdHTTP
"# pragma link "IdTCPClient
"# pragma link "IdTCPConnection
"
Will error:
[ILINK32 Error] Fatal: Unable to open file 'IDBASECOMPONENT. OBJ'
Is not generated. Obj file.. What is the reason? Aunt for rescue, the younger brother novice, ask the question more small white.. Aunt o...

CodePudding user response:
O great god to care...
CodePudding user response:
Add:Connection library file after the errors are similar... Can't find the. Obj files..
# pragma link "IdBaseComponent
"# pragma link "IdComponent
"# pragma link "IdHTTP
"# pragma link "IdTCPClient
"# pragma link "IdTCPConnection
"
If not connect library file out of the error are also similar, is
Error: [ILINK32 Error] Unresolved external '__fastcall Idhttp: : TIdCustomHTTP: : Get (System: : UnicodeString, Classes: : TStream *)' referenced from C: \ USERS \ ADMINISTRATOR \ DESKTOP \ WANWAN \ DEBUG \ TTIDHTTP1 OBJ
Such a... Ask for help
CodePudding user response:

CodePudding user response:
Directly drag controls the window in the IDE, should contain these automatically,CodePudding user response: