Thanks for taking care, Eric, but with your tip I shall investigate 
further and report later (this may be days, because I am busy 
with other tasks!).

Yes, my stand alone script runs fine unlocked. 
It is just below 100k with comments removed.
It uses an external class with a .dll.
It surely loads, because execution starts by doing a webget 
and it is easy to "see" the answer coming in. 

I will check the load more carefully and isolate the fault.

~ Gilles

---------- Original Message -----------
From: "Eric Iverson" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Tue, 7 Nov 2006 11:27:22 -0500
Subject: Re: [Jprogramming] Locked script

> When you reported your problem with 3!:6 I guessed there might be a 
> problem with 3!:6 and large files. At least for simple tests this 
> does not seem to be the case and as far as I can tell 3!:6 and the 
> load of a locked file works correctly.
> 
> Please give more details. Does your standalone app consist of just 
> one large file with no other dependencies? Does it work if not 
> locked and fail if locked? Or are there other things involved.
> 
> Remove the lines that run the app and test that if you load the 
> locked script that everthing looks ok (defns, locales, etc). If you 
> are running without profile then you can do this in jconsole or 
> j.exe with -jprofile and verify that everthing is defining correctly.
> 
> ----- Original Message ----- 
> From: "Gilles Kirouac" <[EMAIL PROTECTED]>
> To: "Programming forum" <[email protected]>
> Sent: Friday, November 03, 2006 12:29 PM
> Subject: [Jprogramming] Locked script
> 
> >
> > With the good advice of Bill Lam, I succeeded in making a stand-alone 
> > script.
> > I included every script manually and removed the require verbs
> > with a post-build script. I add to make other adjustments, which
> > I hope to have time to describe later. Thank you, Bill.
> >
> > Now I would like to lock my script with 3!:6 (lock script). When I 
> > lock
> > a small stand-alone test script, all is fine. But with my full app,
> > the app shows a window, runs for about 3 seconds and disappears.
> > I have been unable to isolate the problem. Since my script runs
> > fine unlocked, the problem appears to be with 3!:6.
> >
> > Is there any constraint in the use of 3!:6?
> >
> > ~ Gilles
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
------- End of Original Message -------

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

Reply via email to