Hi,
I´ve just installed the new release and now I get the exception
HRESULT: 0x8213271A (The User Interface of the application is locked)
if I execute a command with DoVerb.
This happens most times I open my form with embedded ActiveX, but not
always. With 2.0039 everything works fine.
Is there anything I have to set to get the user interface unlocked ?
Thanks,
Jürgen
Executing commands fails on 2.0040 with HRESULT: 0x8213271A
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 24
- Joined: Tue May 27, 2008 5:50 am
-
- Site Admin
- Posts: 2459
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Executing commands fails on 2.0040 with HRESULT: 0x8213271A
Strange behaviour.. Probably you executes of command(s) when AX-Control is busy (modal progress displayed, other modal dialog displayed)..
As temporary workaround: you can wait some time before call ExecuteCommand.
Also please details about this trouble.
Thanks.
As temporary workaround: you can wait some time before call ExecuteCommand.
Also please details about this trouble.
Thanks.
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 24
- Joined: Tue May 27, 2008 5:50 am
Re: Executing commands fails on 2.0040 with HRESULT: 0x8213271A
Hi Vasyl,
thanks for your reply. Let me shortly explain, what we do with the ActiveX.
We use the control without any of the integrated toolbars or menus, instead
we have build our own toolbars/menus and the buttons on these bars send
commands to the activeX. Thats because we have to obey our CI, wich is
very important to us.
The activeX in conjunction with all the self build toolbars and menus
are packed in a UserControl, wich handles all pdf specific actions.
Via memorystream this usercontrol receives the pdf document to
display. So, after initializing this user control and opening a pdf
document, the activeX is showing this document and awaiting
user activities. I this stage, no modal forms or dialogs are present.
Even if I wait for some time, the activeX still responds each command
I send with the error 0x8213271A.
As mentioned, this behaviour is not every time I open a document. It is
also not document specific, I can open the same doc 3 times, one is OK
and two have this strange behaviour.
Hope you can help me out, tanks
Jürgen
thanks for your reply. Let me shortly explain, what we do with the ActiveX.
We use the control without any of the integrated toolbars or menus, instead
we have build our own toolbars/menus and the buttons on these bars send
commands to the activeX. Thats because we have to obey our CI, wich is
very important to us.
The activeX in conjunction with all the self build toolbars and menus
are packed in a UserControl, wich handles all pdf specific actions.
Via memorystream this usercontrol receives the pdf document to
display. So, after initializing this user control and opening a pdf
document, the activeX is showing this document and awaiting
user activities. I this stage, no modal forms or dialogs are present.
Even if I wait for some time, the activeX still responds each command
I send with the error 0x8213271A.
As mentioned, this behaviour is not every time I open a document. It is
also not document specific, I can open the same doc 3 times, one is OK
and two have this strange behaviour.
Hope you can help me out, tanks
Jürgen
-
- Site Admin
- Posts: 2459
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Executing commands fails on 2.0040 with HRESULT: 0x8213271A
Thanks for your reply.
This trouble will be fixed in the next build (41) or early (40.5).
This trouble will be fixed in the next build (41) or early (40.5).
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 24
- Joined: Tue May 27, 2008 5:50 am
Re: Executing commands fails on 2.0040 with HRESULT: 0x8213271A
Fine, can you tell me how long this may take ?
-
- Site Admin
- Posts: 2459
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Executing commands fails on 2.0040 with HRESULT: 0x8213271A
We cannot reproduce of this trouble. 
What commands are used by you?

What commands are used by you?
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 24
- Joined: Tue May 27, 2008 5:50 am
Re: Executing commands fails on 2.0040 with HRESULT: 0x8213271A
This happens on ALL commands, for example Zoom in/out, search, loupe, open, print .....
I have uninstalled V2.0040 an reinstalled 2.0039 everything works fine. After that, I have
uninstalled 2.0039 and did a clean install of 2.0040. And now it also works with 2.0040.
I didn`t have any clue what's going on here, but for now I`m happy.
I will investigate this and come back to you if this strange behavior appears again.
Maybe something went wrong on first installation of 2.0040, I don't know.
Thanks
Jürgen
I have uninstalled V2.0040 an reinstalled 2.0039 everything works fine. After that, I have
uninstalled 2.0039 and did a clean install of 2.0040. And now it also works with 2.0040.
I didn`t have any clue what's going on here, but for now I`m happy.
I will investigate this and come back to you if this strange behavior appears again.
Maybe something went wrong on first installation of 2.0040, I don't know.
Thanks
Jürgen