Home Dashboard Directory Help
Search

Hung process upon exiting when using Speech Recognition by Agenthayes


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 725299
Opened: 2/16/2012 11:43:27 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

If Speech Recognition is in the "Listening" mode, a program developed in Visual Studio 2010 will have a hung process when the user exits the program. The user must go into Task Manager and either End Task or End Process on the executable.
The application developed in Visual Studio 2010 contains the mfc100.dll, msvcp100.dll and msvcr100.dll.
Details
Sign in to post a comment.
Posted by Microsoft on 2/22/2012 at 10:59 AM
Hello,

Thanks for the report. We have investigated this and found that there is a workaround that can be applied in the application code. We have not added the fix to MFC itself because we're not sure that it won't have some negative effect in some other situation.

The suggested workaround is to add the following code to CMainFrame::OnClose:

if (m_pProxy != NULL)
{
    ::CoDisconnectObject ((IAccessible*)m_pProxy, NULL);
}

I hope this helps.

Pat Brenner
Visual C++ Libraries Development
Posted by MS-Moderator08 [Feedback Moderator] on 2/20/2012 at 11:49 PM
Thank you for attaching the dump. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator08 on 2/17/2012 at 2:59 AM
Thanks for reporting the issue.
Could you please provide us with a mini dump file? You can get detailed steps about how to get the dump file at :

http://blogs.msdn.com/debugger/archive/2009/12/30/what-is-a-dump-and-how-do-i-create-one.aspx

It would be greatly appreciated if you could provide us with that information as quickly as possible.

You can upload your dump to the workspace:
https://sftasia.one.microsoft.com/choosetransfer.aspx?key=64b8c383-9225-4638-9247-8fe73b6f6790
Password:zDyRp0LOnmJU5

Please use "FeedbackID-725299" as the file name.

Thanks!
Posted by MS-Moderator01 on 2/16/2012 at 12:45 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.