Tommy,
> I've been trying to convert a Standard C++/MFC application to Managed
> C++/Forms (the application is pretty complex but the GUI is just a
[quoted text clipped - 14 lines]
> Managed C++ is far more buggy and problem prone than I would have
> thought. Anyone seen issues like this or have advice to offer?
Error 0xC000007B is STATUS_INVALID_IMAGE_FORMAT, which suggest your
executable (or one of the generated libraries) is getting corrupted during
generation, which is weird, because this should not generally happen.
Do you have an antivirus installed? if so, try disabling it temporarily and
rebuilding from scratch and see if it helps...

Signature
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
Tommy Vercetti - 23 Mar 2005 18:57 GMT
Tomas Restrepo (MVP) wrote:
> Error 0xC000007B is STATUS_INVALID_IMAGE_FORMAT, which suggest your
> executable (or one of the generated libraries) is getting corrupted during
> generation, which is weird, because this should not generally happen.
>
> Do you have an antivirus installed? if so, try disabling it temporarily and
> rebuilding from scratch and see if it helps...
Thank you again Tomas, you've been extremely helpful. For whatever
reason, the executables I build run on other computers just not on my
main dev machine. I can build the exact same code and project on another
system and it runs there but won't run on my main dev system (same
0xC000007B error). This is really bizarre. Any other ideas? I haven't
noticed any other problems on my dev system. My main dev system is
running Windows XP (SP2 fully patched) where the other system (the one
that is working) is running Windows 2000. Any ideas?
Tommy Vercetti - 23 Mar 2005 19:25 GMT
> Tomas Restrepo (MVP) wrote:
>
[quoted text clipped - 15 lines]
> running Windows XP (SP2 fully patched) where the other system (the one
> that is working) is running Windows 2000. Any ideas?
To restate:
The app runs fine on Win2K system. Can be built on Win2K or WinXP system.
The app doesn't run (with 0xC000007B error) on WinXP system. Doesn't
matter whether it was built on Win2K or WinXP.
I can build a simple MC++ "Hello World" test and run it successfully on
the WinXP system.
Any ideas?
Tomas Restrepo \(MVP\) - 23 Mar 2005 21:19 GMT
Hi Tommy,
> > Thank you again Tomas, you've been extremely helpful. For whatever
> > reason, the executables I build run on other computers just not on my
[quoted text clipped - 13 lines]
> I can build a simple MC++ "Hello World" test and run it successfully on
> the WinXP system.
Humm... sounds like the problem might be a corrupted or missing dependency.
Does it run if you compile in release instead of debug, or doesn't it make
any difference?
if it does, then sounds like a reinstall of VS.NET or the .NET framework on
the problematic machine is in order

Signature
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/