err: "the app failed to initialize properly (0xc0000005)" (debug

  • Thread starter Thread starter Einav
  • Start date Start date
E

Einav

hi,
im developing a dll app under vs2005 (sp1).
when trying to load my exe app (which uses the dll)
im getting the following err message:
"the application failed to initialize properly (0xc0000005)"
im using a third party lib (qt 3.3.8) to create the gui.
although eliminating it did solve to problem. im running in debug mode.
i've used depends.exe and made sure all the dlls depend on the debug runtime
dlls
all depend on MSVCP80D.DLL and MSVCR80D.DLL and all the from the same dir
with the 8.0.50727.762 in its name)
my vs2005 version (as seen in the about dialog)
is 8.0.50727.762 (sp.050727-7600) i have installed the vs sp1 in the past.

thank you.
 
Hi Einav,
im developing a dll app under vs2005 (sp1).
when trying to load my exe app (which uses the dll)
im getting the following err message:
"the application failed to initialize properly (0xc0000005)"
im using a third party lib (qt 3.3.8) to create the gui.
although eliminating it did solve to problem. im running in debug
mode.

Define "eliminating" more clearly. Does the crash happen
as soon as you the qt lib or do you need to call some
functions in the lib to crash your app?

I never worked with qt. Does it use any STL classes or
other stuff which lives in the CRT (msvcr/pxx.dll) in its
API?

If yes, you need to use a qt version which was built
with the same version as your vs2005 sp1. You also need
different versions for release and debug builts. If qt
offers source code you might need to build those
versions for yourself.

If not, there must be some error in how you call the
qt API. Try to find out which function really crashes
the app by single step debugging your code.
 
Back
Top