VB6 crashing second time program loads

PDF-XChange Editor SDK for Developers

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
prime clinical systems
User
Posts: 184
Joined: Sun Aug 05, 2012 5:20 pm

VB6 crashing second time program loads

Post by prime clinical systems » Sun Apr 21, 2019 12:32 am

Hi I previously had this issue see post viewtopic.php?f=66&t=28884&p=111964&hilit=vb6#p111964 and was fixed in V6 Build 323, I have upgraded to V8, and now same behavior if the form with the editor control is launched from a button on the main form. When closing the form with the editor, and clicking button again to show the editor form it crashes with Automation error, object invoked disconnect from clients... no document loads, and click close on editor form crashes vb, both in compiled mode and inside the VB IDE. err.number = -2147417848 note, vb6 one cannot use the FormatHRESULT as asked.

I have enclosed very small sample program.. Please help.
Attachments
vb6crash.zip
(24.62 KiB) Downloaded 26 times

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team » Mon Apr 22, 2019 7:15 am

Hello prime clinical systems,

We will investigate this and hopefully can find a solution.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 184
Joined: Sun Aug 05, 2012 5:20 pm

Re: VB6 crashing second time program loads

Post by prime clinical systems » Mon Apr 29, 2019 3:55 pm

Gentlemen, any progress on this issue?
Thanks

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team » Thu May 02, 2019 7:09 am

Hello prime clinical systems,

The developer who looks into the VB6 problems was not available for some time. He said that he had looked into this one but has not found a cause of this yet.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 184
Joined: Sun Aug 05, 2012 5:20 pm

Re: VB6 crashing second time program loads

Post by prime clinical systems » Fri May 31, 2019 2:42 pm

Please help with this, another month has passed. Thanks

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team » Mon Jun 03, 2019 8:48 am

Hello prime clinical systems,

I did remind him of this issue - so basically all we can do is wait until he has time for this one.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team » Thu Jun 06, 2019 6:51 am

Hello prime clinical systems,

My colleague finally had some time for this matter and he gave me this fix:
vb6fix.zip
(39.92 KiB) Downloaded 10 times
Also, he told me that you have closed the form and reopened it again. That you can only do if you have the IPXV_Inst created and initialized before once and then after all of the work, you should Shutdown it once. As the IPXV_Inst is a singleton for an entire process and won't destroy correctly when destroying more then one time per process. There were several topics about this one already.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 184
Joined: Sun Aug 05, 2012 5:20 pm

Re: VB6 crashing second time program loads

Post by prime clinical systems » Tue Jun 11, 2019 5:42 pm

Thanks, so at least it works in compiled mode, but not in IDE, still crashes as before, second time opening program, and previous posts as I understood this creation of Inst was not needed for VB6... oh well, thanks again.

User avatar
Sasha - Tracker Dev Team
User
Posts: 4076
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team » Wed Jun 12, 2019 6:50 am

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply