[DUG] [DCC Error] F2039 Could not create output file'ShelfGenie.exe'

Kyley Harris Kyley at harrissoftware.com
Sun Mar 20 14:33:14 NZDT 2011


if it doesn't have a break or continue, then look at the Debug Settings
under options for Ignored exceptions and untick the AV

On Sun, Mar 20, 2011 at 2:51 AM, Charlie <kerscher at bellsouth.net> wrote:

> Colin thanks again for helping. Here's an update.
> First I have two programs at a small manufacturing company. They are
> essentially order entry apps. The first one we call DBA and is a
> modification of Accounting for Delphi. I have a form in the DBA app which
> does the same thing I'm trying to do in the second app (SG). The second app
> is for one of the company's customers as that customer had many different
> business rules and manufacturing requirements. The two programs share a few
> dBase tables like the order, customer and a sys table (which has fields for
> the next order/invoice numbers, company address etc).
> The DBA form closes okay and the DBA main form closes okay. The SG form
> closes okay but the SG main form throws the A/V even though the SG form is
> essentially a copy of the DBA form. The main forms for the two apps are not
> the same though.
> I tried what you mentioned below but wasn't patient enough I guess as the
> program transverses every unit for every control (I guess) before it
> breaks.
> I'll try doing that again.
> What is so confusing is that I have several forms in the SG program that
> have ACE Reporter reports and they all work fine; ie, don't cause A/Vs.
> By the way the A/V error doesn't have break or continue choice.
> I'm so desparate.
> Charlie
>
>
> 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 <kerscher at 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 <kerscher at 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 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
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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
>



-- 
Kyley Harris
Harris Software
+64-21-671-821
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110320/4b711d20/attachment.html 


More information about the Delphi mailing list