Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-10-2020, 02:09
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 62
Thanks: 19
Thanked 10 Times in 5 Posts
Cuttlas is on a distinguished road
Exclamation Long Time Closing Setup!

Hi Friends,

I'm using innocallback, WinTB, IsMedaLib, and VCL skin in my setup.

Everything works well, but when I exit the setup, the setup will stay about 4 seconds and freezes, and then it will exit.

How can I immediately close the setup just like I'm killing its process ?
Reply With Quote
Sponsored Links
  #2  
Old 11-10-2020, 02:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
I think you should just find and fix the problem that causes the setup to hang, it's obvious that it crashes and then WerFault.exe (Windows Error Reporting) is launched to check if it can salvage any information regarding the crash and while it does this, it suspends the process which explains the hang.
Reply With Quote
  #3  
Old 11-10-2020, 02:34
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 62
Thanks: 19
Thanked 10 Times in 5 Posts
Cuttlas is on a distinguished road
How to retrieve such info?
Reply With Quote
  #4  
Old 11-10-2020, 02:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Why would you want to retrieve this information because it's mostly memory addresses which is stuff that you'll hardly understand,

here's an example of what you get when a program crashes,
Untitled_3.png

just open the script and find out which library you added causes the crash. Remember most libraries require you to deinitialize them after their use, failure to do so will crash the setup.
Reply With Quote
  #5  
Old 11-10-2020, 02:47
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 609
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Quote:
Originally Posted by Cuttlas View Post
Hi Friends,

I'm using innocallback, WinTB, IsMedaLib, and VCL skin in my setup.

Everything works well, but when I exit the setup, the setup will stay about 4 seconds and freezes, and then it will exit.

How can I immediately close the setup just like I'm killing its process ?
I thing you forgot to deinitialize some of your added lib's or codes.
Reply With Quote
  #6  
Old 11-10-2020, 02:54
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 62
Thanks: 19
Thanked 10 Times in 5 Posts
Cuttlas is on a distinguished road
The only lib which has Unload is VCL skin, I named what libs I'm using, But will try to comment them one by one

But is there any way to kill the setup process on exit?
Reply With Quote
  #7  
Old 11-10-2020, 08:00
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 62
Thanks: 19
Thanked 10 Times in 5 Posts
Cuttlas is on a distinguished road
After commenting the WinTB, it works well !
Reply With Quote
  #8  
Old 11-10-2020, 08:06
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 62
Thanks: 19
Thanked 10 Times in 5 Posts
Cuttlas is on a distinguished road
Without WinTB I've used this code from DiCaPrIo:

https://fileforums.com/showpost.php?...06&postcount=7

again it will cause the same long time closing!
Reply With Quote
  #9  
Old 11-10-2020, 09:08
Cuttlas's Avatar
Cuttlas Cuttlas is offline
Registered User
 
Join Date: Aug 2020
Location: Near You :)
Posts: 62
Thanks: 19
Thanked 10 Times in 5 Posts
Cuttlas is on a distinguished road
Another thing I've faced:

SetWindowLong();

I have used this method to add come context menu on a panel. so the problem is here, the winTB or other related SetWindowLong methods seems to conflict with each other.

How to release or manage them?

Last edited by Cuttlas; 11-10-2020 at 21:01.
Reply With Quote
  #10  
Old 11-10-2020, 18:50
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,073
Thanks: 1,814
Thanked 2,302 Times in 786 Posts
Cesar82 is on a distinguished road
If you use SetWindowLong with GWL_WNDPROC (-4), you always need to restore the previous value before deinitializing the installation.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Cuttlas (11-10-2020), ffmla (11-10-2020)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new tool doofoo24 Conversion Tutorials 175 19-04-2026 05:38
Hey everybody, Long Time. Warlock Chit Chat 4 07-11-2018 19:34
Serial Cable taking a long time!! ']['wisted DC Games 0 13-05-2001 11:16
why is my copied .cdi image seen as only one long audio file on dreamcast? webber DC Games 4 23-01-2001 08:20
LONG TIME DC FORUM READER...SANTA'S LITTLE HELPER BRIN DC Games 1 17-12-2000 18:02



All times are GMT -7. The time now is 20:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com