Re: Application getting launched in other user accout



Hi Yatrik,

Well it gets complex at this point as I don't know what you are trying to
achieve. The Desktop thread switching is tied into what you are noticing. I
recommend you *don't* make the service interactive at all - as this
historically causes problems - especially when the desktop switches to the
screen saver desktop.
A simple way that I use, is to create a GUI process to control your service
via a regular shell exe application. You can then share a simple data file
between your service process and your desktop application to communicate
between them. All you need to ensure is that you control access to the file
using a named Mutex kernel object so that your application and the service
don't write to the file at the same time!

Good luck

CreateWindow


<yatriksachdeva@xxxxxxxxx> wrote in message
news:1178891557.542290.310350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 11, 6:06 pm, "CreateWindow" <createwin...@xxxxxxxxx> wrote:
Hi,

I need some more info. Was it installed with the .NET service installer
or
InstallShield or native API?
What is it? I need more information - if I can help you. Was it marked
Interactive? Etc. ??
Is it written in C ?

CreateWindow

<yatriksachd...@xxxxxxxxx> wrote in message

news:1178880726.515332.19390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



On May 11, 3:12 pm, "CreateWindow" <createwin...@xxxxxxxxx> wrote:
Hi,

Did you write the service and install it? Leagacy API service or
dressed
up
in .NET candy? What is it? Svrany?

CreateWindow

<yatriksachd...@xxxxxxxxx> wrote in message

news:1178864597.491091.198880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi,

I have a WinXP system whose registerowner is "testuser". There also
exists a user account with same name, i.e. "testuser".

I logged in as built-in Administrator account and start a service.
The
user name shown for this service is "SYSTEM" in TaskManager
processes
tab. This service also lanch "notepad.exe" using WinExec API.

My problem is that the logged in Administrator does not see any
notepad.exe application running. When I switch user to "testuser", I
observe noetpad.exe instance running there.

Any ideas what may be causing this behavior?

Thanks in advance for any replies to this post.

Yatrik- Hide quoted text -

- Show quoted text -

Yes, that service was written and installed by me only.

Thanks
Yatrik- Hide quoted text -

- Show quoted text -


Hi,

This service written in C. It can be installed using InstallShield and
native API. It is interactive and can be controlled from Service
controller.
This behavior is only seen on couple of WinXP systems, where as on
other systems it works as desired.

Thanks
Yatrik



.



Relevant Pages

  • Re: Tone controls
    ... control unit, but as for the input impedance being at 1 meg-ohm (500 ... The source impedance would not be a factor here, as long as it is less ... For the input switching, I would use a very good quality mechanical ... As for the details of your tone control circuits, ...
    (sci.electronics.misc)
  • Quantum Gravity 220.1: Bang-Bang and Switching Control
    ... In Bang-Bang Control in Optimal Control Engineering and Mathematics ... Switching Control is often closely related to Bang-Bang Control, ... The papers have tended to increase in number ...
    (sci.physics)
  • [NT] Macrovision InstallShield Update Service ActiveX Unsafe Method Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Macrovision InstallShield Update Service ActiveX Unsafe Method ... This control is marked "safe for scripting". ...
    (Securiteam)
  • Re: Installation Problems with COM Interop
    ... You said that you are using this "control" inside of VB6. ... the registry settings are created when you run the ... > where the output then gets packaged for installation using InstallShield ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to register ActiveX control with VBA?
    ... if access is already installed - then you can also use InstallShield to install mdb file, create a shortcut and install/register all ActiveX controls you using. ... shortcut .lnk and when needed registering the control. ... You have to register these controls during setup, ...
    (microsoft.public.access.modulesdaovba)

Loading