Vista...  (for those who helped with the cut/paste problem,
the issue turned out to be that a user-level task is not allowed
to send events to an edministrative task; to have your mouse
send events to a task running as administrator, you have to
start it as administrator; but you can't do that from the
normal start procedure; so you have to create a Scheduled
Task to start your mouse with administrative rights

but that was long ago).  The problem now is that my application,
which is very solid on Windows XP, fails on Windows Vista
in the following sequence:

0.  I press CTRL-ALT-DEL
1.  I get the 'choose your program' screen
2.  (now I'm speculating, but I think my app tries to create a window
  at this point)
3.  I select Task Manager
4.  Task Manager starts
5.  My program blows up with a domain error because it has an
  invalid window handle.


Apparently something failed when the UAC was quizzing me about
what I wanted to do.  Maybe J tried to create a window and wasn't
allowed to?  This has happened to me twice now.

I will instrument the code to find the problem, but I wonder if
anybody here has a clue?  Is window-creation suspended while UAC
has control?  Should J be checking for something, or should I
be?  For example, would I get a return code from wd if I tried to
create/read hwndp for a window that was not created?

Henry Rich

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

Reply via email to