[DUG] EAccessViolation on StdWndProc

Leigh Wanstead leighw at softtech.co.nz
Wed Oct 3 14:43:10 NZDT 2007


Hi Myles,

That is all the information related to stack I got. How can I code to catch
the error even considering modify classes.pas?

TIA

Regards
Leigh

-----Original Message-----
From: delphi-bounces at delphi.org.nz
[mailto:delphi-bounces at delphi.org.nz]On Behalf Of Myles Penlington
Sent: Wednesday, October 03, 2007 2:35 PM
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] EAccessViolation on StdWndProc


No they are not the same.
Madexcept is very good and to be recommended. IMO the best of these kind
of products.

That stack trace does not look complete or correct - but hard to tell,
just looking at it - it feels wrong/incomplete.

Myles.

-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Nick
Sent: Wednesday, 3 October 2007 02:30
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] EAccessViolation on StdWndProc

Just a side question.
EurekaLog any good? Worth the monies? Is it > then madExcept?


Leigh Wanstead wrote:
> Hello everyone,
>
> I got EAccessViolation on StdWndProc on customer machine
>
> The development environment is Delphi 7 Enterprise. The customer's os
are
> Windows 2003 and xp.
>
> Exception Message is:
>
> Access violation at address 00000000 Write of address 00000000
>
> The whole call stack from EurekaLog v 5.x log is
>
> classes.pas StdWndProc
> user32.dll DispatchMessageA
> user32.dll DispatchMessageA
> Forms.pas TApplication.ProcessMessage
> Forms.pas TApplication.ProcessMessage
> Forms.pas TApplication.HandleMessage
> Forms.pas TApplication.HandleMessage
> Forms.pas TApplication.Run
> Forms.pas TApplication.Run
> MyProject.dpr
>
> function StdWndProc(Window: HWND; Message, WParam: Longint;
>   LParam: Longint): Longint; stdcall; assembler;
> asm
>         XOR     EAX,EAX
>         PUSH    EAX
>         PUSH    LParam
>         PUSH    WParam
>         PUSH    Message
>         MOV     EDX,ESP
>         MOV     EAX,[ECX].Longint[4]
> -->        CALL    [ECX].Pointer
>         ADD     ESP,12
>         POP     EAX
> end;
>
> I can not duplicate the error on my own machine on xp and windows 2000
> terminal server. It happens random on customer machine. May I ask how
to do
> in code to catch the error?
>
> TIA
>
> Regards
> Leigh
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with
Subject: unsubscribe
>
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe

Attention:
This communication is confidential and may be legally privileged.  If you
are not the intended recipient, please do not use, disclose, copy or
distribute it, other than to return it to us with your confirmation that it
has been deleted from your system.

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe




More information about the Delphi mailing list