On Sat, Apr 26, 2008 at 11:37 PM, Steven Edwards winehacker@gmail.com wrote:
- have start.exe set an environment variable saying "show
graphical error box
on dll load failure", and clear that before calling executed apps' WinMain()
So that worked. Comments are welcome!
1. I'd output the console message before the gui one.
2. You never clear that environment variable... what happens when an app just tests for the existence of a DLL by trying to load it? We don't want to print an error then. (That's why I originally suggested clearing the env var after the app finished loading. That's still broken -- it won't catch errors in helper exes -- but it's better than nothing.)