Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

HTTP using Borland C++

Posted on 2004-04-10
3
Medium Priority
?
2,070 Views
Last Modified: 2007-12-19
Hi,
I need to perform a simple HTTP request using Borland C++  builder :
I want to specify a URL and retrieve the HTML into a variable.

How can I do that ?

I checked out HTTPApp unit and TWebRequest etc. but didn't find any proper manual to explain how it works...

Thank you,
ADI.
0
Comment
Question by:odedmaimon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Expert Comment

by:Hyperon
ID: 10800658
www.vijaymukhi.com/vmis/vmchap4.htm

i used this wiritng a HTTP client, it is very good, xplains how it works as well as providing code
0
 
LVL 3

Accepted Solution

by:
BTecho earned 1000 total points
ID: 10803640
Hi :)

for a great sample project on using the TWebBrowser/TCppWebBrowser component visit this site

http://www.bytesandmore.de/rad/index.htm

It's in german but has some great code snippets, you can also always use Altavista to translate the site. For specific snippets

http://www.bytesandmore.de/rad/cpp/files/TCppWebBrowserExe.zip

http://www.bytesandmore.de/rad/cpp/files/TCppWebBrowserSrc.zip

More resources

http://www.thebits.org/tutorials/wbr1.asp 
http://community.borland.com/article/0,1410,28797,00.html 


For more snippets visit the Bytamin-c forums and search for TCPPWebBrowser and TWebBrowser.


Another way is to use the Indy components, they come with source, are already bundled with C++Builder6. You can get the latest version

http://www.nevrona.com/Indy/Indy.html

an alternative to Indy is ICS, also free with source

http://www.overbyte.be

Both component packages comes with plenty of examples to get you started :-)
0
 
LVL 3

Expert Comment

by:BTecho
ID: 10803641
sorry, forgot the link to Bytamin-C

http://www2.bytamin-c.com/forums/c%2B%2Bbuilder
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question