Re: SQLLoader in an API?
From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 24 Mar 2005 10:46:50 -0800
Message-ID: <1111690010.260473.86760_at_g14g2000cwa.googlegroups.com>
Date: 24 Mar 2005 10:46:50 -0800
Message-ID: <1111690010.260473.86760_at_g14g2000cwa.googlegroups.com>
tachoknight_at_gmail.com wrote:
> No one is logged into the machine, so there is no user context in
which
> to run SQL Loader. In other words, you can't run a console app if you
> have no console to run it on.
Services run in their own environment in which they have access to a sort of virtual desktop. You don't actually have to be logged into the machine yet spawn any process from a service via CreateProcess() function. That is one of the benefits of running stuff as service.
Just google on "CreateProcess from service".
Regards
/Rauf
Received on Thu Mar 24 2005 - 19:46:50 CET