I have a couple of D7.1 apps that use some common code.  The common code
causes an error in one app but not the other.  The error happens when
the app exits.

I'm drawing a blank on what could it be about app1 that could cause a
problem in form2.  App2 does the same calls and does not show this
problem.  Googling the error message, it seems that this is a variation
on access violation - the program is trying to read a chunk of memory
that it doesn't have rights to.  I think the 2 apps have the same
compiler settings.  I've looked at the parameters passed into form1
thinking there must be some difference, but nothing comes to mind.  What
else should I look at?

App1 --> form1 --> form2                >the instruction at "----"
referenced memory at"0x----".  The memory could not be "read".  Error if
and only if form2 is called.

App2 --> form1 --> form2

The problem only happens  when form2 is executed from app1.  

Source for form1 and form2 is shared between the 2 apps, ie, it is
recompiled when the app is compiled, but the same physical files are
compiled.

Reply via email to