Windows 7 - Application crashed with exception code 0xc00000fd

Asked By Gumby The Bor on 05-Sep-08 04:05 PM
Hi all,

Well I had no idea where to stick this message since there is no "General
Win32 Programming" newsgroup. So I'm sticking it in here.

I'm developing a small (i.e. simple) application using Visual Studio 2005
and C++. I compile the application and try to run it and after it gives me
the UAC admin control challenge and I choose Allow, the application instantly
crashes without so much as a dialog box.

If I snoop around in the Event Viewer I get:

Faulting application SetupBootstrapperExe.exe, version 1.0.0.1, time stamp
0x48c18e16, faulting module USER32.dll, version 6.0.6001.18000, time stamp
0x4791a783, exception code 0xc00000fd, fault offset 0x0003c25a, process id
0x13e8, application start time 0x01c90f91be0fb9d0.

I think it may have something to do with the manifest file so here is my it
is:

version="1.0.0.0"
processorArchitecture="x86"
name="Setup Bootstrapper"
type="win32"
/>
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
type='win32'
name='Microsoft.VC80.CRT'
version='8.0.50727.762'
processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'
language="*"
/>
level="requireAdministrator"
uiAccess="false"
/>

I tried switching the version for 'Microsoft.VC80.CRT' from '8.0.50727.762'
to '8.0.50608.0', but if I do so, I get the same results.

I hate the manifest BTW, worse idea I've ever seen. This obscure black magic
blob of XML is ill documented and there are no tools to just generate one
based on a series of simple settings.

Anyway, I'm running this on Windows Vista 64.

cheers,
GumbyTheBorg




Jim Barry replied on 05-Sep-08 08:30 PM
Any application that has the word "setup" in its name or version =
resource is likely to be considered by Vista to be a setup program and =
will be run as administrator, i.e. elevated. As for why it crashes, I =
have no idea about that, but presumably you could try debugging it from =
an elevated instance of Visual Studio.

--=20
Jim Barry, Microsoft MVP
David Connet replied on 06-Sep-08 11:27 AM
=?Utf-8?B?R3VtYnkgVGhlIEJvcmc=?= <Gumby The
Borg@> wrote in


There's:
- comp.os.ms-windows.programmer.win32
- microsoft.public.win32.programmer (and many subgroups)

(And as Jim noted, you really need to run the programmer in a debugger to
find out more information)

Dave