I have done a little more research in this and the code is fine till I reach
the end of the procedure Im executing

procedure TForm1.F1Book1ObjValueChanged(Sender: TObject;
  var ObjName: WideString; ObjID: Integer);
var
   ..
begin
   ..
end;{TForm1.F1Book1ObjValueChanged} *****************>this is the line that
when it executes causes the application error

now this code worked yesterday, and I didnt change anything overnight it
just stopped working, that is why Im at a little bit of a loss.

I havent tried rebooting yet, just restarting delphi, the reboot happens now
to see if that fixes the problem, and if not then a delphi reinstall....

Thanks for the advice tho Conor

Chris Veale

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Conor Boyd
> Sent: Wednesday, 25 September 2002 10:44 a.m.
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: what does this error mean?
>
>
> Hi Chris,
>
> Tell me if I'm teaching you to suck eggs, but it's quite easy
> to get AVs in
> your code by e.g. referring to an object that doesn't exist
> any more etc.
>
> Even though the error message lists a Windows DLL (user32),
> this doesn't
> mean that it's not a bit of your code causing the AV.
>
> E.g., if you have two variables referring to the same object, and you
> destroy the object using one of the variables, you would
> still be able to
> call methods on the other variable, but you would be likely
> to get an AV,
> 'cos the memory that the object resided at has been reclaimed
> by the OS.
>
> If it's not a problem with your code, it might be a bug in
> the component
> you're using.
>
> Again, I might have missed the point of your original email,
> but I hope this
> helps...
>
> Cheers,
>
> Conor
>
> -----Original Message-----
> > From: "Chris Veale" <[EMAIL PROTECTED]>
> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 25, 2002 9:45 AM
> > Subject: [DUG]: what does this error mean?
> >
> >
> > > Hi.
> > >
> > > I am looping through some sheets in the f1book component,
> > and after I
> > > complete the looping I get this error
> > >
> > > "Exception EAccessViolation in module user32.dll at 000047CF
> > >  Access Violation at address 77E147CF in module
> > 'user32.dll'. Read of
> > > Address 00000000."
> > >
> > > Can anyone tell me what this means, and preferably how to fix it?
> > >
> > > I have tried stepping through the code, and it all seems to
> > be working ok,
> > > though it dies on me.
> > >
> > > Please help if you can.
> > >
> > > Chris Veale
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/02
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/02




______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify 
the sender and delete all material pertaining to this e-mail.
______________________________________________________
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to