[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

System architecture and coping with Session 0 isolation in Windows Vista

Posted on 2008-11-07
2
Medium Priority
?
334 Views
Last Modified: 2012-05-05
Hello,
I am running into complications with one of our applications resulting from the new session 0 isolation Microsoft introduced in Windows Vista. Our VB6 application (running as a service via srvany.exe) interacts with the desktop via a control panel user interface and systray icon. All of our applications communicate via TCP sockets.
The purpose of this application of ours is to allow users to manage our legacy backend data collection utilities that drive our user interfaces (such as showing/hiding their display windows).

There are two architectural problems we are now encountering while still trying to run our management application at service level:

1. As our application can no longer interact with the desktop, users cannot use it to show and hide the legacy programs it manages (as these processes have been started at service level by the management application).

2. If our management application was to run at service level but start the legacy programs as user level, logging off the PC would result in our legacy programs needing to be restarted.  This would also result in the legacy programs ceasing data collection for the period of time in which they are restarted.

Any changes to system architecture would have to be completed in the management application, as the legacy programs serve their purpose and are static EXEs.

Does anyone have any suggestions how we could rework our system architecture to permit the legacy programs to interact with the desktop (at the very least)?

Thanks in advance for any and all feedback.
0
Comment
Question by:rite_eh
2 Comments
 
LVL 41

Accepted Solution

by:
graye earned 2000 total points
ID: 23017368
You're right... Vista has changed things so that's not an option anymore.
I think the only real solution is to break your application into two parts... and service part and the User Interface part.    That way, the service can be started with elevated privilegs and continue to run after log off... and all interaction with the user would be done via a separate UI app that talks to the service.
0
 
LVL 1

Author Comment

by:rite_eh
ID: 23124500
Thanks for the response. I too have come to the conclusion that this (messy) change is what is required.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question