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
Solved

HTTP using Borland C++

Posted on 2004-04-10
3
1,945 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
  • 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 250 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

860 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