Custom Shell Path

G

Guest

I add a custom shell to my Image with path "c:\windows\myShell\" and I put
the exe and dll into the folder. but when system startup. it notified me
cann't find *.dll. what can I do?
if i add all the exe and dll into the c:\windows\system32 . It words good.
 
K

KM

YunLee,

You need to set properly the current directory for your shell application.

One way would be to launch the shell application with CreateProcess from another simple app. You can pass the current directory
("c:\windows\myShell') to the API call.

Or load all libraries (Dlls) dynamically with LoadLibrary specifying the entire paths.

Or you can add your shell directory to system environment path ([HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment],"Path").
 

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