Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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