Thread: SDK problem
View Single Post
  #1 (permalink)  
Old 19th February 2003
Soniq Soniq is offline
Junior Member
BS.Player Newbie
 
Join Date: Feb 2003
Posts: 1
Rep Power: 0
Soniq is an unknown quantity at this point
Default 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)
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20