TD application as service

General discussion forum about all things Team Developer 6.x
EwaldP
Austria
Posts: 60
Joined: 07 Mar 2017, 08:00
Location: Austria

TD application as service

Post by EwaldP » 27 Nov 2017, 15:04

Hi,

has anybody a TD application running as service? I've found some old forum threads from 2007/2008 but 10 years later might be the world another :) .
I experimented with 3rd party tools like http://www.firedaemon.com/ and http://www.nssm.cc/ but not sure if this is the right way.

Has anyone experiences?

Regards
Ewald
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

clemdoc
Austria
Posts: 9
Joined: 08 Mar 2017, 09:51
Location: Austria

Re: TD application as service

Post by clemdoc » 29 Nov 2017, 10:33

Warning: My comment applies to TD 5.2 and might not be accurate for TD 6.x.
We had the same issue with TD 5.2 and AFAIR the biggest problem was to get the TD application to listen to calls of the the Service Command Manager.
As we found no solution, we wrote a wrapper service in C#/.Net (which is trivial) that starts/stops the TD application as necessary. That basically works by translating the SCM calls into Windows Messages.

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 484
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD application as service

Post by Dave Rabelink » 29 Nov 2017, 11:50

Another solution, also using a (simple) .NET wrapper service.

We build the TD application as COM server, exposing the needed interfaces to .NET wrapper.
Starting and stopping and calling the functionality is done through COM and without having to manage the communication using Windows messages.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

EwaldP
Austria
Posts: 60
Joined: 07 Mar 2017, 08:00
Location: Austria

Re: TD application as service

Post by EwaldP » 30 Nov 2017, 10:03

Thank you for the hints. I've already thought that a .NET Wrapper would be a smart idea.

Ewald
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

Return to “General Discussion”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests