1.0 idea - ntdll - add a messagebox for missing dlls

Dan Kegel dank at kegel.com
Fri Apr 25 13:07:41 CDT 2008


On Fri, Apr 25, 2008 at 8:50 AM, Steven Edwards <winehacker at gmail.com> wrote:
>  does not even work, let alone because if it finds the EXE there is no
>  error as far as CreateProcess cares. On the other had, The child
>  process returns an exit code such as STATUS_ENTRYPOINT_NOT_FOUND but I
>  don't see how to get this information from the parent process, return
>  it to start.exe.so and have start do something like print an error or
>  display a message box. Can anyone lurking point me to an example of
>  how to get the child's return value and pass that back to the parent?

A few ideas:

* have start.exe examine the import table of the exe and do an explicit check
(hard)

* have start.exe set an environment variable saying "show graphical error box
on dll load failure", and clear that before calling executed apps' WinMain()
(easy)



More information about the wine-devel mailing list