Acrobat DC Pro Activex crashes on Close


hi guys,

 

i new in acrobat. using acrobat activex display of pdf files in qt application. works fine acrobat xi , earlier creates problem in dc pro version. problem occurs in case when trying close activex control. crashes application on close. snippet is:

 

ui->widget->setcontrol("{ca8a9780-280d-11cf-a24d-444553540000}");

ui->widget->dynamiccall("loadfile(const qstring&)",previewfile);

 

after when try close display window, application crashes.

thanks

try load c:\program files (x86)\common files\adobe\acrobat\activex\acropdfimpl.dll yourself,

then free component.

 

the crash occurs while freeing control.

there call acropdfimpl.dll acropdf.dll.

inside called procedure control freed the

acropdfimpl.dll (where call came from) unloaded.

the return jumps address wich no longer valid because of unloaded dll.

 

the simplest , effectivest solution found, load dll additionally yourself

with loadlibrary.

unload after control destroyed or if nor sure,

leave loaded because when app closed windows unloads automatically.



More discussions in Acrobat SDK


adobe

Comments

Popular posts from this blog

Soustraire une selection

Illustrator cs6 "Invalid Serial Number"

After Effects: could not find dvaeve_dialogs.txt