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
