DIFFERENT SHELLS FOR DIFFERENT USERS

G

Guest

Hi!! I try to create two diferent shells one the explorer shell for the
administrator and other a custom MFC application for a standard user. I've
developed my image like the following link says:
http://msdn2.microsoft.com/en-us/library/ms838576.aspx
But my custom application doesn't run when I logon like a user, a blue
screen appears (the icons or the taskbar don't appear), when I saw the
regedit ( executing this taks by the task manager)the content of the key
HKEY_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
for the user is the path of my MFC application and also if I try to run the
application by double clicking it doesn't run. But If I log like
administrator and run the application , it's run fine :-S. I don't know
what's up. can someone help me please?

very thanksss

sand
 
G

Guest

I think your mfc app caused the problem. Your mfc app can't run by shell.

You can try to use ''notepad.exe" as the shell.
 
G

Guest

No, my application doesn't run standalone via Explorer is neccessary these
components for running correctly:

Application Compatibility Core
Offline Browsing for Internet Explorer
Map Network Drives/Network Places Wizard
Directory Service Utility
HTML Randering Engine
Windows Logon (Standard)

These components contain dlls that are neccessary for executing the
application

Then, maybe some of these components depend of explorer shell and it's
neccessary include the dlls in my own application for avoiding use these
components??

very thanks.

sandra ^_^
 
S

Sean Liming \(eMVP\)

Let me clarify my question: The first test I do for an application that is
going to be the shell, is to build an XP Embedded image using Explorer shell
and run the application as an independent program. This way I know the
application can run under XPe and in on configuration I have all the correct
components. Then I create the shell component for my application, and try
the image again with the new shell.

When you logon to administrator - does the administrator account use
Explorer as the shell?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
G

Guest

Yes, The administrator uses explorer shell and the application runs right.

thanks

sandra
 
S

Sean Liming \(eMVP\)

Thanks. That is good.

For the HKEY_Current_User\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\Shell, did you use the full absolute path or did
you use shortcut notations?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
G

Guest

Sorry, I can't replay before. I use the absolute path for the key in the
registry.

thanks

sandra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top