Logical interactive windows stations
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Logical interactive windows stations

  1. #1
    Join Date
    Dec 2010
    Posts
    72

    Logical interactive windows stations

    I understand I can have multiple windows stations inside a session,
    But only one named winsta0 can be accepting inputs and displays.
    But can I just create a winsta0 on the fly and create all the stuff inside it,
    and change its name and give this reserved name to another windows station,
    just like a token, then when everything is initialized, when I am changing windows station,
    I just name the windows station winsta0 and the other one some other names?
    Will this work?
    Thanks
    Jack

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    18,907

    Re: Logical interactive windows stations

    [moved from Visual C++ Programming forum]
    Victor Nijegorodov

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    12,516

    Re: Logical interactive windows stations

    Quote Originally Posted by luckiejacky View Post
    Will this work?
    Probably not, but you'll need to try it to be sure.

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,567

    Re: Logical interactive windows stations

    WinSta0 object is never created by third party code. Win32 API does not provide a way for renaming it. So there is no ground for your plan. You definitely need to read MSDN more thorough. Besides, I would recommend some of Russinovich's Windows Internals book for studying in regard to bootstrap and shutdown logic. Going to save you a lot of unresponded questions here on the forum.
    Best regards,
    Igor

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)