Solved

HTTP using Borland C++

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Want to delete all my personal data 13 137
java inner class, for the sole use of parameter passing 21 76
how to convert c++ code to Android App 3 80
Create a path if not exists 7 69
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

911 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

21 Experts available now in Live!

Get 1:1 Help Now