I was under the impression it had to be before exiting - it would be easy to do at initialization. I'll try this.
On 3/21/08, Eric Iverson <[EMAIL PROTECTED]> wrote: > > Is creating it at app init a problem? Then you don't have to worry about > paths to exit. > > > ----- Original Message ----- > From: "Devon McCormick" <[EMAIL PROTECTED]> > > To: "Programming forum" <[email protected]> > Sent: Thursday, March 20, 2008 6:20 PM > Subject: Re: [Jprogramming] j.exe application error > > > > Eric - thanks. Putting this > > > > wd 'pc dummyForm' NB. Kluge to avoid 6.02 no-window app bomb-out. > > > > as the last thing seems to avoid the problem. The only slight > difficulty > > is > > that event-driven code may not have a single point of exit. > > > > Devon > > > > On 3/20/08, Eric Iverson <[EMAIL PROTECTED]> wrote: > >> > >> This sounds like a problem I saw towards the end of the 602 beta. The > 602 > >> j.exe is built with the static MFC to avoid requiring vcredist. But > there > >> is > >> a bug in the static library that causes a crash when shutting down. I > >> thought I had an adequate workaround, but your case shows it isn't > quite > >> complete. My hope is that by the time 603 comes out that vcredist will > be > >> more generally installed and we can go back to using the dynamic > library. > >> > >> Please try the following kludge (and variations) of a workaround: > create > >> a > >> form without showing it in the app before the shutdown may avoid the > >> problem. > >> > >> > >> ----- Original Message ----- > >> From: "Devon McCormick" <[EMAIL PROTECTED]> > >> To: "J-programming forum" <[email protected]> > >> Sent: Thursday, March 20, 2008 2:55 PM > >> Subject: [Jprogramming] j.exe application error > >> > >> > >> > Recently, I've been getting an application error like this: > >> > > >> > --------------------------- > >> > j.exe - Application Error > >> > --------------------------- > >> > The instruction at "0x7c91519d" referenced memory at "0x003e000c". > The > >> > memory could not be "read". > >> > > >> > > >> > Click on OK to terminate the program > >> > Click on CANCEL to debug the program > >> > --------------------------- > >> > OK Cancel > >> > --------------------------- > >> > > >> > It seems to occur only at the termination of a > >> > standalone J app, one that runs without a session window. > >> > If I remove "-jijx" from the command line, it doesn't get the error. > >> > > >> > Do I need to do some sort of wrap-up? The exact same code under J > 6.01 > >> > does > >> > not have this problem. > >> > > >> > -- > >> > Devon McCormick, CFA > >> > ^me^ at acm. > >> > org is my > >> > preferred e-mail > >> > >> > > ---------------------------------------------------------------------- > >> > For information about J forums see > http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > > > > > > > -- > > Devon McCormick, CFA > > ^me^ at acm. > > org is my > > preferred e-mail > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
