Board index » delphi » Automation server in an NT service
Oliver Sturm
![]() Delphi Developer |
Sat, 31 Aug 2002 03:00:00 GMT
|
Oliver Sturm
![]() Delphi Developer |
Sat, 31 Aug 2002 03:00:00 GMT
Automation server in an NT service
Hi!
I have an NT service that is itself an automation server. Now I want to Oliver -- Fa. Manfred Dahlhoff - Buellenkothenweg 37a - 40229 Duesseldorf |
Howard Moo
![]() Delphi Developer |
Sun, 01 Sep 2002 03:00:00 GMT
Re:Automation server in an NT serviceOliver, here's a portion of my notes on this subject as to how to make this work: 1. Run DCOMCNFG. Find the service object, and open its Properties page. HTH |
Oliver Stur
![]() Delphi Developer |
Sun, 01 Sep 2002 03:00:00 GMT
Re:Automation server in an NT serviceHoward, Thanks a lot for your help, makes me think I missed something ;) But it I wrote a sample program (without the service) which is an automation Something I don't know if I did right, I need to instantiate my COM object Now, when I start the server as administrator (I'm using Windows 2000), the When I start the server as a normal user and the client as administrator, it This example seems to be relevant for my problem with the service, so I Oliver -- Fa. Manfred Dahlhoff - Buellenkothenweg 37a - 40229 Duesseldorf |
Binh L
![]() Delphi Developer |
Mon, 02 Sep 2002 03:00:00 GMT
Re:Automation server in an NT serviceAn NT COM service will run in its own window station (virtual desktop) separate from, say, your Windows desktop window station. Each window station has its own copy of the Running Object Table (ROT) which is where your object goes when you call RegisterActiveObject, and the ROT is not accessible across window stations. This explains your scenario. have fun QuoteOliver Sturm <o.st...@manfred-dahlhoff.de> wrote in message Quote> Hi! - Hide quoted text - - Show quoted text - Quote |
Oliver Stur
![]() Delphi Developer |
Tue, 03 Sep 2002 03:00:00 GMT
Re:Automation server in an NT service"Binh Ly" <b...@castle.net> schrieb im Newsbeitrag news:38d1b10f@dnews... Quote> An NT COM service will run in its own window station (virtual desktop) I have an application running as a service, feeding a database with data I thought it was a good idea to control the service using OLE automation, Obviously, it doesn't work this way. Does anyone have suggestions? Oliver -- Key ID: 71D86996 |
Bj?rge S?the
![]() Delphi Developer |
Tue, 03 Sep 2002 03:00:00 GMT
Re:Automation server in an NT serviceOliver Sturm skrev i meldingen <8atslu$3...@bornews.borland.com>... Quote>I have an application running as a service, feeding a database with data whatever is used on your LAN. If you're on TCP/IP, you have the components TServerSocket / TClientSocket in Delphi. It's a bit harder, especially if you want a COM-interface on the client side, having to create both this and the TCP/IP layer. Additionally, you have Remote procedure Calls (RPC) and NetDDE...which I don't know very well. Well, just an idea...;-) -- |
1. Automation Server as NT Service
2. More Questions about Automation Servers in NT Services
3. HELP - Delphi 4 Automation Server over NT Service
4. Ole automation servers in NT Services.
5. Nt Service & Ole Automation
6. Automation object in NT Service
7. Nt Service & Ole automation
8. NT Service exposing Automation interface -- how?