Old 28th February 2002, 23:46   #1
Flippet
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/
Flippet is offline   Reply With Quote
Old 1st March 2002, 13:31   #2
Gourou
Senior Member
 
Gourou's Avatar
 
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.
Gourou is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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