Newsgroups: microsoft.public.win32.programmer.kernel
From: Corinna Vinschen <cori...@community.nospam>
Date: Sat, 26 Apr 2008 15:55:08 +0000 (UTC)
Local: Sat, Apr 26 2008 11:55 am
Subject: SetLastError/CreateProcess bug on Vista/2008
Hi,
consider a situation in which you're trying to start a subsequent However, if you don't want that, because you want to handle all such SetErrorMode (SEM_FAILCRITICALERRORS); If you do this on Windows XP, it works fine. No error box is opened. If you do the same on Vista or Server 2008, you lost. Even though someprocess.exe has stopped working Windows can check online for a solution to the problem. -> Check online [...] V View problem details And the problem details contains the well-known fact that a DLL To avoid this box on Vista/2008, you must call SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); in the parent process. This appears to be at least an unnecessary A DLL was missing. A missing DLL is *not* a general protection fault And it's a bug that the GUI box appears at all. If you set the error This application has failed to start because foo.dll was and then, after the user has confirmed that box, the second box Is there any chance that this can be fixed in Vista/2008? Thanks, -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||