SDK problem
Hi
I am using Visual C++ 6, and my code is :
//***************
#include <iostream.h>
#include <windows.h>
#include "bsp.h"
void main ()
{
HWND bsp_hand=FindWindow("BSPlayer",NULL);
long bsp_ver = SendMessage(bsp_hand,WM_BSP_CMD,BSP_GETVERSION,0);
cout << oct << bsp_ver << endl;
}
//***************
and the only result i have is : 0x37777777777 (-1 in decimal) when BSPlayer is running (and 0 when it isn't)
So BSPlayer get my message but don't send me the right value, same thing with other message.
Equal probleme on VB6.
Do anyone understand and know what to do ?
I have used 0.86.494 and 0.85 492 but same bug (if it's a bug) on this 2 version.
Thx
__________________
Soniq Exnihilo
(Sorry for the english... I am french :p)
|