Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/index.php)
-   General Talk And Support (http://forum.bsplayer.com/forumdisplay.php?f=8)
-   -   Using BSplayer API (http://forum.bsplayer.com/showthread.php?t=1553)

HackerWerger 30th April 2003 12:58 PM

Using BSplayer API
 
I want to use BSplayer's api but I'm doing something wrong. I'm using "getwindow" and "sendmessagetimeout" and both of them are returning a non-zero number. So, they are working but I can't figure out how to get p.e. the value of BSplayer's version. :( Please help!

HackerWerger 8th May 2003 06:27 PM

Ok. I will release the next stable version of the BSplayer's launcher without API support. :( I still can't figure out how the sendmessagetimeout works..
Just wait 4-5 days..

Halle 8th May 2003 11:18 PM

afaik, BSPlayer's GetVersion API returns 0xffffffff for all version so far..

cu
Halle

HackerWerger 9th May 2003 10:25 PM

Halle can you send me a sample code of the sendmessagetimeout in my e-mail? I prefer it in VB6.
Thanks in advance!

Halle 11th May 2003 09:54 PM

Hi,

Sorry, I'm not a VB programmer, however, I can give you some code in C or asm.

C code to get current playing position in msec would look something like:

Code:

  HWND hWndBsplayer;
  DWORD dwMsecPos;
  hWndBsplayer = FindWindow("BSPlayer", NULL);
  dwMsecPos = SendMessage(hWndBsplayer, WM_BSP_CMD, BSP_GetMovPos, 0´);

Then dwMsecPos should contain the current playing position in msec.

cu
Halle

thompsonson 28th June 2003 10:44 PM

VB Class?
 
has any one done a VB class for this? I was hoping so, but no luck searching so far. Please contactme if you do.
Looks like I'll be bastardising the Winamp class i found!
Cheers,
Matt


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger


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