Re: ShellExcute for non EXE files



to do manually, just right click on the service in service.msc and goto
Logon tab, and check the box saying "Allow Service to Interact with
Desktop".

To send the messages to the process, get the handle of it and send
messages using sendmessage or any such stuff.

rups

Ham wrote:
> My "other program" is an Application which calls the DLL that has this
> function call.  The application is running on the Dektop but the DLL
> gets loaded by the service that the application uses. Also the service
> is not running under the system account but rather is using the
> services account to run. Because against the username I see the service
> name of my main application.
>
> How do I make this interact with the desktop and also send subsequent
> commands to that process.
> 
> Thanks.

.



Relevant Pages

  • Re: UPDATE: playgroup fiasco
    ... follower - will approach other kids, sit next to them and watch what ... they do long before he tries to interact. ... > while saying these things. ... adults - she may feel this way. ...
    (misc.kids)
  • Re: ShellExcute for non EXE files
    ... > Suppose there is an application that loads a DLL. ... > So either the DLL doesn't share any data segments, ... > interact with the service simply establishes a connection to the exported ...
    (microsoft.public.vc.mfc)
  • Re: Autostart desktop app after boot
    ... to interact with the desktop is must run under the LOCAL SYSTEM ... wordpad.exe starts under the LOCAL SYSTEM account. ... The solution is to use the /CONSOLE switch when connecting via Remote ... on Remote Desktop and the /console switch. ...
    (microsoft.public.windows.server.general)
  • Re: Releasing an object with a running thread
    ... Kalevet wrote: ... does some asynchronous work. ... The thread does not interact with the ... The problem is that your DLL may be unloaded soon after that, ...
    (microsoft.public.vc.atl)
  • RE: "Runtime error" message box
    ... - The service is set up to run from the system account, "Allow service to interact with desktop" is not checked. ... From the documentation in MSDN, it appears that __set_error_modewould do the trick. ... RAF Technology, Inc. ...
    (microsoft.public.dotnet.languages.vc)