Solved

HTTP using Borland C++

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now