Re: Update #1 - Initialization Failure on Running Apps...



I have exactly the same problem after actually compiling the application.
(first run is ok, so when using the "old" exe and debug info things are
fine?)
Something seems REALLY broken now.. - outside the IDE the EXE runs fine,
debug and release...

Codegear???? help?

Omg...

"Steve Maughan" <GoogleMe@xxxxxxx> wrote in message
news:466993e1$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I'm having real problems after updating. I've tried repairing but to no
avail. Here's the problem:

Any project seems to run when Delphi is first loaded. The second or third
time I try to run the app, even a blank app, it fails with an error:

"The application failed to initialize properly (0xc0000005). Click OK
to terminate"

I notice in the task manager that only 168k of the application has loaded.
When I click OK I get a "project failed with AV message". Looking at the
CPU window it seems to be full of ???? instructions (zeros maybe)?

If I then terminate the program, build and re-run I get the same "failed
to initialize" message but the call stack is gives:

ntdll.dll
ntdll.LdrInitializeThunk + 0x10

as the call stack. Note that this behaviour is with a blank project and
all application compile and run as standalone exe's outside of the IDE.

The next thing to rule out is that my update was somehow corrupted so I'm
going to try is to repair with the "delete install cache" checked. I'll
then repair again and I'm hoping that it'll download a fresh update.

If anyone has any ideas they will be greatly appreciated!!

Frustrated regards,

Steve


.



Relevant Pages

  • Re: Printing variables to screen, when in debug
    ... >>> evaluation tool (CosmoScope). ... >>Are you aware of the immediate window, and the Debug object? ... > But do remove before compiling as they slow your program down. ... For example, Debug.Print statements, while ignored in the run-time .exe, are ...
    (microsoft.public.vb.general.discussion)
  • Re: Source of EXE Size OT
    ... Aside from any resources you may have added, the EXE will ... After compiling to native code for many years, ... >> default compiler options. ...
    (microsoft.public.vb.general.discussion)
  • Re: Debug info
    ... > I have a relatively large application which comprises of one EXE (quite ... > The vcl suite of packages however, cannot be re-built with debug info as we ... > than the BPL as the currently selected package in delphi and relying on the ...
    (borland.public.delphi.ide)
  • Re: LNK1106: Invalid file or disk full: cannot seek to 0x68e2.
    ... > server and the users run the EXE from a shorcut on their desktop. ... The error you're getting - if it's network related - occurs when you save ... If that's not the case and you're already compiling locally, ...
    (microsoft.public.vb.general.discussion)
  • Re: Source of EXE Size OT
    ... > There is a phenomena in VB6 when compiling to native code the exe will grow ... Can't say I ever noticed it (I don't look at .exe size too often--it's ... generating p-code or native and whether he has changed any of the ... default compiler options (empahsize speed over size comes to mind). ...
    (microsoft.public.vb.general.discussion)