I'm not sure how to troubleshoot this error I seem to be getting, it compiles fine no problems but when I try to run the program I get "The application failed to initialize properly (0xc0000005)" it only happens on the one system that I run it, every other system I've tested it on it executes fine, unfortunitly this is the system that the program needs to run on and its not. I've tried running it in safe mode and it seems to run so I've installed all current drivers and disabled all services except those that are required for windows to run and yet I still get the same problem, I've also turned off every other application before running it.
Any help anyone can offer would be much appreciated.

The application failed to initialize properly (0xc0000005)
moondaddy
Hi Gents,
Did you resolve this
I had a simliar problem with a Smart Client App. Though I must state it would run once! the problem was being caused by the splash screen, and only on Windows 2000.
When I removed the splash screen all was ok.
wuhuashouce
Hi, Mitch,
That's an access violation error; i.e., accessing memory which is protected. That's not common in managed code, as it generally translates into accessing a NULL pointer. Unfortunately, without more info (debug stack, etc.), this would be difficult for us to diagnose. Do you perhaps use a "Declares" statement which references an unmanaged DLL (like a Windows API or something) The reason I ask is that sometimes those APIs vary based on the version of the OS, and a variable which might have been optional for one OS is required on another.
Note you can use the Debug\Exceptions dialog to catch this exceptions and see when it occurs (it's under the Win32 exceptions tree in that dialog) -- you can then see what's on the stack.
Hope this helps,
--Matt--*