此操作无法完成,因为其他程序正忙。 [英] This action cannot be completed because the other program is busy.

查看:389
本文介绍了此操作无法完成,因为其他程序正忙。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我支持在Windows 7中用Visual C ++ 2010编写的应用程序,它在
后续例程中调用另一个也用Visual C ++ 2010编写的可执行文件:

void CMainFrame :: OnUtilitiesDataeditor()

{

    
BeginWaitCursor();      <跨度>&NBSP;
// ControlClass

    BeginWaitCursor();       //ControlClass

   
VERIFY(cdataEditdrv.CreateDispatch(" ControlClass"));

    VERIFY( cdataEditdrv.CreateDispatch("ControlClass" ));

   
cdataEditdrv.ReleaseDispatch();

    cdataEditdrv.ReleaseDispatch();

   
EndWaitCursor();

    EndWaitCursor();

}

两者都是VS 2010中同一解决方案的一部分,并同时构建。 
调用的可执行文件出现在调用的可执行文件下面,给人的印象是它没有出现。 
同时还有一个圆形的"Please Wait"光标。  单击任务栏上的第二个可执行文件后,它会显示在第一个可执行文件上。 
当你将它移到一边时,会出现一个标题为"Server Busy"的弹出错误,说明以下内容:

Both are part of the same solution in VS 2010, and build simultaneously.  The called executable comes up underneath the calling executable, giving the impression that it didn’t come up.  Meanwhile there is a circular "Please Wait" cursor.  After clicking on the second executable on the Task Bar, it comes up over the first executable.  When you move it to the side, a pop-up error with a title "Server Busy" stating the following shows up:

           
"此操作无法完成,因为其他程序正忙。 
选择"切换到"以激活忙碌程序并更正问题"。 

            "This action cannot be completed because the other program is busy.  Choose ‘Switch To’ to activate the busy program and correct the problem". 

唯一的出路这是在任务管理器中终止应用程序。 
此程序在Windows XP中运行良好。

The only way to get out of this is to kill the application in Task Manager.  This program worked fine in Windows XP.

在调试器中,我将其追踪到上面的"VERIFY"行。

如何解决这个问题?

推荐答案

MannyMannyManny写道:

MannyMannyManny wrote:


两者都是VS 2010中同一解决方案的一部分,并且构建 同时。被调用的可执行文件出现在调用的
可执行文件下面,给人的印象是它没有出现。 同时还有一个循环 ??请等待 ? 光标。 点击任务栏上的第二个可执行文件后,会点击第一个&bbsp;可执行文件。当你把它移到一边时,一个弹出错误,带有
标题 ??ServerBusy ?

Both are part of the same solution in VS 2010, and build  simultaneously. The called executable comes up underneath the calling
executable, giving the impression that it didn�??t come up.  Meanwhile there is a circular �??Please Wait�?� cursor.  After clicking on
the second executable on the Task Bar, it comes up over the first  executable. When you move it to the side, a pop-up error with a
title �??Server Busy�?�

由于某种原因,您的COM服务器可执行文件尚未输入其消息 泵并没有处理消息。调试它,找出原因。

For some reason, your COM server executable has not entered its message  pump and is not processing messages. Debug it, figure out why.


这篇关于此操作无法完成,因为其他程序正忙。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆