![]() |
#1 |
Junior Member
Join Date: Feb 2007
Posts: 2
|
Using ShowWindow causes Winamp crash at exit
My plugin uses its own window (RegisterClass, ShowWindow, etc.) to display some data. When I close WinAmp, there's a GPF somewhere in its code (not in mine). If I as much as remove the ShowWindow line, there's no error at all. Is there something that I should pay extra attention to take care of?
|
![]() |
![]() |
![]() |
#2 | |
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Re: Using ShowWindow causes Winamp crash at exit
Quote:
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
![]() |
![]() |
![]() |
#3 |
Join Date: Sep 2003
Posts: 27,873
|
are you subclassing winamp? if so are you gracefully handling that? are you making sure you destroy the window you've created when you get your quit(..) called? are all threads/anything else which could leave itself as a reference point in winamp been closed and correctly cleaned up?
-daz |
![]() |
![]() |
![]() |
#4 | |
Junior Member
Join Date: Jan 2007
Posts: 40
|
Re: Using ShowWindow causes Winamp crash at exit
Quote:
Did you test what happends if you only deselect your plugin in the preferences window of winamp? Crashes the same? |
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Feb 2007
Posts: 2
|
Re: Re: Using ShowWindow causes Winamp crash at exit
... I don't know what I did, but the crashes stopped. However, they were happening after my quit() code, and by looking at the disassembled code - when WinAmp was trying to call quit() on another plugin (the same code point, a call, that sent the instruction pointer into my quit(), crashed on another turn of what seemed to be the shutdown-all-plugins loop).
Thanks for the swift response, however. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|