check out the demos folder for a multi-threaded sample app (in threads folder), another one in the Delphi\Help\examples\Prgsbar folder (atleast in D6 and D5).
Dave --- petesouthwest <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to develop an NT Service Application > that has two, > unrelated (ie they dont use the same data, or rely > on 'each other for > anything') services. I have added the second service > by simply doing > file-new-nt service. > > However, although the code for the second service > seems ok, I'm having > problems with it starting. Researching NT services > on the net, i have > seen suggestions that the service should be > 'multithreaded' with each > service running in its own thread. So I'm wondering > if this could be a > problem. > > Can anyone point me in the direction of how to > achieve that? Or maybe > have some expla code. I have read through > http://www.pergolesi.demon.co.uk/prog/threads/ToC.html > but I must be > being slow, no comments please ;) as I still cant > work out how to make > my service multithreaded. > > Thanks for any help given > > Pete > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

