Re: Implement LockWorkstation using xdg-screensaver from explorer

2007-07-31 Thread Steven Edwards
On 7/27/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote: > Some sort of SendMessage to the desktop window should do the trick. Please ignore my other email to you. So something like this? Thanks for Vitaman on IRC for pointing out that spawnvp killed the calling process. -- Steven Edwards "The

Re: Implement LockWorkstation using xdg-screensaver from explorer

2007-07-27 Thread Alexandre Julliard
"Steven Edwards" <[EMAIL PROTECTED]> writes: > Is there any place where this is already done so I have an idea of how > to connect to the existing process? Some sort of SendMessage to the desktop window should do the trick. -- Alexandre Julliard [EMAIL PROTECTED]

Re: Implement LockWorkstation using xdg-screensaver from explorer

2007-07-27 Thread Steven Edwards
On 7/27/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote: > To be able to do that you need to send the request to the existing > explorer process, not start a new one. Is there any place where this is already done so I have an idea of how to connect to the existing process? Thanks Steven -- Ste

Re: Implement LockWorkstation using xdg-screensaver from explorer

2007-07-27 Thread Alexandre Julliard
"Steven Edwards" <[EMAIL PROTECTED]> writes: > This time in explorer > > With this patch, Process Explorer no longer crashes when locking the > workstation from within the application. If xdg-screensaver is not > present on the system, explorer simply returns in which case > LockWorkstion thin