Issue with Viewer and W7 speech recognition

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Issue with Viewer and W7 speech recognition

Post by docu-track99 »

We have found conflict between Tracker control and Windows 7 Speech Recognition. Attached is "MinPDF Editor.zip" file with sample exe and source code.

Steps to reproduce:
1. In Windows 7 (64-bit Home Permium) configure the Speech Recognition (Set up Speech Recognition).
2. Unzip "MinPDF Editor.zip" file
3. Run "MinPDF Edit.exe"
4. Close the EXE.
5. The exe will hang. The line below is causing problem:

Call CoPDFXCview1.DoVerb("", "ExecuteCommand", "FitWidth", 0, 0)
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Issue with Viewer and W7 speech recognition

Post by Stefan - PDF-XChange »

Thanks for this report docu-track99,

We have passed that to one of the devs in our Team (Vasyl), and we will update the topic when more info becomes available.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Issue with Viewer and W7 speech recognition

Post by Vasyl - PDF-XChange »

Hi, docu-track99.

We can't reproduce this issue. May be here exists unknown problem with synchronous/asynchronous calls...

Try to use special flag to make call real synchronous:

OpenDocument(..., PXCVA_Sync);
DoVerb(..., PXCVA_Sync);

Best
Regards
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Re: Issue with Viewer and W7 speech recognition

Post by docu-track99 »

I tried using the special flag, that did not help. Attached is a screen recording on how to reproduce the issue.

Steps to reproduce:
1. Launch "Speech Recognition" In Windows 7 (64-bit Home Permium)
2. Run "MinPDF Edit.exe"
3. Close the EXE using the X button.
4. The exe will hang. Use the task manager to kill the exe.
You do not have the required permissions to view the files attached to this post.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Issue with Viewer and W7 speech recognition

Post by Corwin - Tracker Sup »

Hello, docu-track99

We are still unable to reproduce such issue. Please make sure that you don't have any other software that may be causing this problem.