Looked closer and see that your guess that it is a bug in psel is probably correct. psel takes both number arg and name arg and it is incorrectly deciding that the - (not a digit) indicates a name. This may require a new j.exe to fix. I will get back to you shortly.

----- Original Message ----- From: "Dan Bron" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Tuesday, February 06, 2007 1:53 PM
Subject: Re: [Jprogramming] wd 'qpx'


Eric wrote:
The problem may be related to 'bad' temp file names.

I was only up to 89.ijs in my temp directory, in addition to a few named (not numbered) IJS files. No leading dashes or underscores.

Anyway, I moved all files out of ~temp, leaving that directory empty. The problem persists.

On the upside, in the last hour+, the problem has become less frequent. Now it seems like a 50/50 chance of getting a "bad" J session. I can live with that.

Perhaps the problem is as Stephano suggests: the hwnd is an unsigned int, but you have it declared as plain int in j.exe. Then, when you format the handle, it gets a leading '-', which is fine, until you pass it back to psel, which doesn't know how to interpret that.

But, as I cannot create a reproducible test case, I'll leave the investigation up to you, should you choose to pursue it.

-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