|
From: Voigt, B. M. <B....@kl...> - 2003-06-18 16:34:58
|
Hi there! I'm using the wrapper to exceute some java class, that has public void controlEvent(int event) implemented. I started the wrapper in a shell (cmd.exe). My problem is, that the function is never reached when I press CTRL-C. When I close the shell by clicking on the "x", log the user off or shutdown the computer everything works as expected. In the WrapperManager class a native windows function for the windows event is called. If the native function returns some non-zero value the controlEvent function in my class gets called. For CTRL-C there's a zero return value, so nothing happens.Am I doing something wrong or ist the native function messing up? Wrapper version 2.8.2 & 3.0.3 behave the same. I'm using windows 2000 and jdk1.4.1. TIA Belo |