Q2:"WindowsFormsParkingForm" 在2K中你遇到过吗,有深刻认识吗,你快来看看吧!有点罕见哦...
迷雾夜 2006-09-08 06:44:32 写了个程序,有几万行了,使用了一个商业界面控件,无技术支持;
(我写的程序本身对实时性有点要求,有点耗内存)测试时,程序主窗口调用某一子对话框,使用按键
close()子对话框自我关闭后,主窗口商业控件按键无法工作,点击后无反应,其它一切均正常(消息刷新,
定时器扫描,与其它设备通讯),同时在按下Alt + Tab切换窗口时在切换窗口中多了一个标题为
"WindowsFormsParkingForm"
的消息窗口,在任务管理器中无该进程,也找不出是那个线程产生的,并且,该bug出现频率很低,非野蛮操
作,非运气极好,它还不出来;查了一下网络还是无头叙,那位给点灵感吧...我是菜鸟.鸟.鸟.鸟 ....
问题E文版
I have developed a rather large application and am running into a bug that
causes the application to lock up. No exception is ever thrown, it just
simply refuses to take input. The only thing that you can do to the Form is
double click the title bar to restore/maximize the window. Other than that
the menus, navigation buttons, everything cease to respond at all to any user
input. Windows continues to run properly and you can restart the application
(END TASK) and it will run normally again.
I noticed this error I while back and when it occured there would be a
"WindowsFormsParkingForm" or something like that in the ALT-TAB list when the
error occured. Now it doesn't do that anymore. It just causes my app to
essentially freeze and cause my users to do a nasty IT functionality
CTRL-ALT-DEL, end task. I have been unable to locate the error through
debugging.