|
|
#1 |
|
Junior Member
Join Date: Jun 2001
Location: Yeovil, Somerset, UK
Posts: 23
|
Getting it to turn off...
I know there's a WA_COMMAND message to make Winamp shut down...
I know about ExitWindows() to make Windows shut down... I know about EndProcess() to kill the current process... ... but I still can't make my web server plugin shut down either! The best I can do is Windows makes like it's shutting down, only to whinge that Winamp has caused a fault in Kernel32.dll. Which isn't really what I'm after. Help! I'm having to get out of bed when I've finished listening, and I'm far too lazy to do that on a regular basis! Phil http://www.flippet.net/httpserver/ |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Feb 2002
Location: The backside of the universe on the trailing edge of eternity
Posts: 238
|
use FindWindow(etc) to find the window and then the EndProcess() to kill it, or I think there is an api called EndProcessTree(), usually it causes that error because it is using something else and that something else had a fit, so killing the tree should take care of it, good luck.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|