CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 1999
    Posts
    2

    Locking WindowsNT

    Hi all.
    I was thinking of locking a WindowsNT system as I am writing a custom shell-like app. What are the ways to do this? Launchung a lock-enabled screensaver will NOT go. Should I load 'msgina.dll' and call something from deep inside?

    Sincerely Yours,
    Sergei A. Beilin-Pulkkinen
    Valhalla Labs

  2. #2
    Join Date
    Apr 1999
    Location
    Huntsville, Al
    Posts
    27

    Re: Locking WindowsNT

    Have a look at SleepEx. this may do what you want

    Gary Kirkham


  3. #3
    Guest

    Re: Locking WindowsNT

    I'm doing the similar stuff now. I can't find a way to lock the workstation from program instead using screensaver. Have you solved your problem ?


  4. #4
    Join Date
    Jun 1999
    Posts
    2

    Re: Locking WindowsNT

    I suppose to give it up because of Windows2000 coming soon, as it has an appropriate call in user32.dll Just say in command prompt: 'rundll32.exe user32.dll,LockWorkStation' - this _works_ in Windows2000 beta3.

    Sincerely Yours,
    Sergei A. Beilin-Pulkkinen
    Valhalla Labs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured