I had the problem to which you are referring.  I added a line like this

   wd 'pc dummyForm'          NB. Kluge to avoid 6.02 no-window app
bomb-out.

which fixed it.  Don't know if this is the same problem Alex is having.

On Wed, Aug 6, 2008 at 10:10 AM, Eric Iverson <[EMAIL PROTECTED]>wrote:

> This rings a very vague bell and you might find an answer by searching the
> archives. The problem has to do with termination of COM J in Vista. I
> remember that the workaround had something to do with creating a dummy form
> so that the termination had a form to close. Just before ending the session
> try creating a form (I don't think it even has to be visible).
>
> On Wed, Aug 6, 2008 at 6:00 AM, Alex Rufon <[EMAIL PROTECTED]
> >wrote:
>
> > Hi.
> >
> > I'm currently in the process of migrating to J602a (again) and I hit a
> > brick wall. J would crash right after the calling .NET application
> > exits.
> >
> > First off, I'm using the following softwares:
> > 1. Vista Ultimate
> > 2. C# on Visual Studio .NET 2005 Professional Edition
> >
> > Since I know that not everyone has my version of Visual Studio .NET, I
> > replicated the problem using the FREE Visual Studio .NET 2008 Express
> > Edition. You can download a copy from here:
> > http://www.microsoft.com/express/default.aspx
> >
> > So follow these steps to replicate the crash:
> > 1. Run Microsoft Visual C# 2008 Express Edition
> > 2. Create a new Windows Application project. The automatically created
> > project should have a form named form1
> > 3. Add a reference to J602\bin\j.exe
> > 4. Add a button to form1
> > 5. Add the following code into form1:
> >
> > using System;
> > using System.Collections.Generic;
> > using System.ComponentModel;
> > using System.Data;
> > using System.Drawing;
> > using System.Linq;
> > using System.Text;
> > using System.Windows.Forms;
> >
> > namespace WindowsFormsApplication1
> > {
> >    public partial class Form1 : Form
> >    {
> >        private JEXEServerLib.JEXEServerClass jObject;
> >        public Form1()
> >        {
> >            InitializeComponent();
> >        }
> >
> >        private void Form1_Load(object sender, EventArgs e)
> >        {
> >            jObject = new JEXEServerLib.JEXEServerClass();
> >            jObject.Quit();
> >        }
> >
> >        private void button1_Click(object sender, EventArgs e)
> >        {
> >            jObject.Do("[res=: i. 1024 1024");
> >        }
> >
> >        private void Form1_FormClosing(object sender,
> > FormClosingEventArgs e)
> >        {
> >            jObject = null;
> >        }
> >    }
> >
> > }
> >
> > As you can see from the code above. This project will do nothing but
> > create an instance of J when it loads. A button that would just make a
> > 1024x1024 matrix inside the J instance and then set the jObject variable
> > to nothing when it closes.
> >
> > The problem is that after this application closes, J will crash
> > spectacularly. :)
> >
> > I have tested this in VB.NET <http://vb.net/> and C# in both Visual
> Studio
> > .NET 2005
> > Professional and 2008 Express edition.
> >
> > I am hoping that I am just missing a step somewhere. Like maybe I need
> > to call a "release" manually? Any insight would be helpful.
> >
> > Thanks.
> >
> > r/alex
> > ----------------------------------------------------------------------
> > 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

Reply via email to