"Steven Edwards" winehacker@gmail.com writes:
On Wed, Apr 23, 2008 at 11:14 PM, Dan Kegel dank@kegel.com wrote:
Why not? I thought Explorer was the first thing to start up...
Your right, I thought it was loaded yet but I guess it does anytime user32 is initalized. Looking at the process list after the messagebox exits only wineserver, services and winedevice stay resident for a while so I thought it had not loaded yet. I'll see if I can rework it to send a message to explorer to display the dialog.
You certainly don't want to call through explorer for that, showing a message box directly is fine. You have to be careful to only do it when loading the main exe, not for any random dll load; also you have to properly handle the case of a missing X display.