Glad to help :)

Generally speaking, access violation occur when you are trying to
access an object that doesn't exist (anymore). Since you get this
error when closing the main form, it is very likely the program is
trying to access an object that has already been freed (prematurely).
You may need to place a breakpoint on the main form's close event and
step into the code (F7) as it traverses to each line across the
project to identify at which point it crashes. Alternatively, when you
are running the application from within the IDE in debugger mode, when
the access violation occurs and it'll ask you to break or continue.
Just break and view the call stack to see where the error occurred and
then hopefully you will be able to identify what object it is trying
to access.

Hope this helps,

Colin


On 19 March 2011 09:06, Charlie <kersc...@bellsouth.net> wrote:
>
> Hi Colin, it appears it might be Kaspersky Internet Security. I did disable
> the protection and didn't encounter the error.
> Now if I could just solve the problem of getting Access Violation errors
> when I create a report with ACE Reporter. Every time that I access the form
> on which the report is and run the report, close the form which takes me
> back to my main form and close the main form I'm getting an AV.
> Thank you,
>
> Charlie Kerscher
>
> Subject: Re: [DUG] [DCC Error] F2039 Could not create output file
> 'ShelfGenie.exe'
>
> Just checking the Embarcadero newsgroups, it seems this can happen
> when your virus checker grabs hold of your exe but does let go of it.
>
> Try disabling your virus checker and see what happens (or replace it
> with a less intrusive one).
>
> Cheers,
> Colin
>
> On 19 March 2011 08:38, Charlie <kersc...@bellsouth.net> wrote:
>> My application is in CodeGear 2007 using dBase. I'm getting the error in
> the
>> "subject" about 8 out of 10 times when I compile. Any help would be
>> appreciated.
>>
>> Thank you,
>>
>> Charlie
>>
>>
>>
>> Charlie Kerscher
>>
>> Williamson GA
>>
>> Cell: 770.468.1757
>>
>>
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi@delphi.org.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
>> unsubscribe
>>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
> unsubscribe
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
> unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to