Solved

TIdHTTP in a Service Application

Posted on 2006-06-19
2
290 Views
Last Modified: 2010-04-05
Hi experts,

I created a little program in BDS 2006 that retrieves a page from the internet using the Indy tIdHTTP component. This works great. However, I would like to turn it into a Service Application, i.e. without a form.

Now how can I use this component if I don't have a form to drag it on?

thanks,
Michiel
0
Comment
Question by:altiplano
2 Comments
 
LVL 26

Accepted Solution

by:
EddieShipman earned 200 total points
ID: 16936904
create it like this:

idHTTP1 := TidHTTP.Create(nil);

and do not forget to destroy it...
0
 

Author Comment

by:altiplano
ID: 16937180
Up and running as we spek.
Thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Internet Explorer View Settings Question 15 117
When I am typing into a TEdit last word repeats 7 148
control image tags in a string ? 12 142
RESTRequest Parameter 4 43
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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