[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1276
  • Last Modified:

replace explorer.exe with a mfc application crash (kiosk mode with wince)

I wrote a mfc application for wince 4.2 net to replace the explorer.exe.

The aplication works fine if the explorer.exe started before, but if I change LOCAL_MACHINE\INIT and I don´t start the explorer the application crash.

Then I wrote s simple win32 application without MFC and everything works fine without the explorer.exe

The problem is a need the MFC library to do some things.

How can I run a MFC application without the explorer.exe? May be I need to load some libraries first?

  • 2
1 Solution
>>>> The aplication works fine if the explorer.exe started before
The explorer.exe is responsible for installing and running the desktop. There are some 'features' in each MFC app where it communicates with the desktop (e. g. installing an icon in the taskbar when minimized) what of course would fail if there is no desktop.

What kind of MFC app is it? A dialog-based app (A) or a SDI (B) or MDI (C) app? You would need to cut all connections and dependencies to the desktop, what isn't so much difficult for (A) as this only uses a minimal part of the MFC application framework but may be very difficult for (B) and (C).

Regards, Alex
Note, instead of 'replacing' the explorer you can switch off all it's user interfaces by means of system policies.
juandsAuthor Commented:
Thanks for your reply!

Actually I solve the problem. The solution is to run the Filesys.exe instead of explorer.exe and then run my MFC app. (comment: also it need the NK.exe but this module always is started)

Thanks for your comment anyway!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now