Q2:"WindowsFormsParkingForm" 在2K中你遇到过吗,有深刻认识吗,你快来看看吧!有点罕见哦...

迷雾夜 2006-09-07 10:59:45
写了个程序,有几万行了,使用了一个商业界面控件,无技术支持;

(我写的程序本身对实时性有点要求,有点耗内存)测试时,程序主窗口调用某一子对话框,使用按键

close()子对话框自我关闭后,主窗口商业控件按键无法工作,点击后无反应,其它一切均正常(消息刷新,

定时器扫描,与其它设备通讯),同时在按下Alt + Tab切换窗口时在切换窗口中多了一个标题为

"WindowsFormsParkingForm"

的消息窗口,在任务管理器中无该进程,也找不出是那个线程产生的,并且,该bug出现频率很低,非野蛮操

作,非运气极好,它还不出来;查了一下网络还是无头叙,那位给点灵感吧...我是菜鸟.鸟.鸟.鸟 ....

...全文
141 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
ahking 2007-01-18
  • 打赏
  • 举报
回复
up
Knight94 2006-09-10
  • 打赏
  • 举报
回复
to 写了个程序,有几万行了,使用了一个商业界面控件,无技术支持;

你最好看看是否因为这个控件引起的
迷雾夜 2006-09-07
  • 打赏
  • 举报
回复
外国朋友也有同样的困惑哦

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.

唯一的回复
Have you tried the 'Pause' button in the debugger?? Wait until it "locks
up" and press the pause button... The highlighted lines will be the ones
AFTER the currently running code. That might help you find it.

我要洗洗睡了,希望明天高手中的高手会有回复...


110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧