• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

TIdHTTP in a Service Application

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
altiplano
Asked:
altiplano
1 Solution
 
Eddie ShipmanAll-around developerCommented:
create it like this:

idHTTP1 := TidHTTP.Create(nil);

and do not forget to destroy it...
0
 
altiplanoAuthor Commented:
Up and running as we spek.
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now