Board index » delphi » Nt Service & Ole automation

Nt Service & Ole automation

Hi,

I'm wondering if it's possible to use Ole-automation in a Nt-Service

I have developed a Nt-Service in Delphi 4 using Ole automation,
but it crashes when executing the CreateOleObject function.

Are there any examples for this, or has anyone a solution?

Greetz

Jack
j.s.m.gera...@stud.tue.nl

 

Re:Nt Service & Ole automation


Hello,

What error do you get? You might want to have the service logged in as a
valid user account (that has access to the automation object/server you're
trying to use) instead of the SYSTEM account. Note: if the service is logged
in as a user account (instead of SYSTEM), you must configure the DCOM
Identity to match that user account.

have fun,
--
Binh Ly
Brickhouse Data Systems, Inc.
http://www.brickhouse.com

Quote
Ebo Dieben wrote in message <361b41f3.5199...@news.iae.nl>...
>Hi,

>I'm wondering if it's possible to use Ole-automation in a Nt-Service

>I have developed a Nt-Service in Delphi 4 using Ole automation,
>but it crashes when executing the CreateOleObject function.

>Are there any examples for this, or has anyone a solution?

>Greetz

>Jack
>j.s.m.gera...@stud.tue.nl

Other Threads