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").
--
Regards,
KM
>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.
|