Hi Dan,

>> but I don't know.  In my J COM app, I put  jObject.Do("2!:55]0")  in my 
>> shutdown hook.
I tried incorporating this to my JSession design that I used for the J .NET 
tutorials and what's happening was I'm getting an invalid object reference 
since J already quit when .NET's garbage collector tried to clean it. :P

Well, mileage may vary. ;) Something to try again in the near future.

r/Alex

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Dan Bron
Sent: Wednesday, August 12, 2009 7:17 AM
To: 'Programming forum'
Subject: Re: [Jprogramming] C# and JEXEServer

John Baker wrote:
> 2) The Quit() does not shutdown the J server

I haven't tried to do this in years, but I remember that  jObject.Quit();  
didn't mean  shutdownRightNow()  it meant something
like  shutdownJWhenTheParentApplicationShutsdown()  .  This may also address:

> 3) Exiting the C# app leads to an invalid memory reference in 
> J.  Probably related to not shutting down properly.

but I don't know.  In my J COM app, I put  jObject.Do("2!:55]0")  in my 
shutdown hook.

-Dan

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to