Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Winamp Technical Support (http://forums.winamp.com/forumdisplay.php?f=11)
-   -   Can't solve this....... please! (http://forums.winamp.com/showthread.php?t=62816)

ctrlaltcanc 16th October 2001 22:55

Can't solve this....... please!
 
As described in msdn and in winamp developing docs, I was trying to use FindWindow() to find Winamp window, but this simply doesn't work... I get a null hwnd and getlasterror returns value 2. This happens with ANY window on my screen, I just get desktop handle by giving both null parameters. Someone has a tip for this? :)

Piece of code:

HWND hwnd_winamp = FindWindow("Winamp v1.x", NULL);

Please note that as this is a cgi executable, I'm compiling it as win32 console program... Could it be that???

Thank you


All times are GMT. The time now is 02:10.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.