VB6 crashing second time program loads

PDF-XChange Editor SDK for Developers

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

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: 211
Joined: Sun Aug 05, 2012 5:20 pm

VB6 crashing second time program loads

Post by prime clinical systems »

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 91 times
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team »

Hello prime clinical systems,

We will investigate this and hopefully can find a solution.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
prime clinical systems
User
Posts: 211
Joined: Sun Aug 05, 2012 5:20 pm

Re: VB6 crashing second time program loads

Post by prime clinical systems »

Gentlemen, any progress on this issue?
Thanks
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
prime clinical systems
User
Posts: 211
Joined: Sun Aug 05, 2012 5:20 pm

Re: VB6 crashing second time program loads

Post by prime clinical systems »

Please help with this, another month has passed. Thanks
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team »

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 78 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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
prime clinical systems
User
Posts: 211
Joined: Sun Aug 05, 2012 5:20 pm

Re: VB6 crashing second time program loads

Post by prime clinical systems »

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.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: VB6 crashing second time program loads

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply