Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support
Register FAQ Calendar Today's Posts Search

General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 30th April 2003
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: Greece
Posts: 115
Rep Power: 0
HackerWerger is an unknown quantity at this point
Default 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!
Reply With Quote
  #2 (permalink)  
Old 8th May 2003
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: Greece
Posts: 115
Rep Power: 0
HackerWerger is an unknown quantity at this point
Default

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..
Reply With Quote
  #3 (permalink)  
Old 8th May 2003
Member
BS.player Regular User
 
Join Date: May 2003
Posts: 38
Rep Power: 0
Halle is an unknown quantity at this point
Default

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

cu
Halle
Reply With Quote
  #4 (permalink)  
Old 9th May 2003
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Location: Greece
Posts: 115
Rep Power: 0
HackerWerger is an unknown quantity at this point
Default

Halle can you send me a sample code of the sendmessagetimeout in my e-mail? I prefer it in VB6.
Thanks in advance!
Reply With Quote
  #5 (permalink)  
Old 11th May 2003
Member
BS.player Regular User
 
Join Date: May 2003
Posts: 38
Rep Power: 0
Halle is an unknown quantity at this point
Default

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
Reply With Quote
  #6 (permalink)  
Old 28th June 2003
Junior Member
BS.Player Newbie
 
Join Date: Jun 2003
Posts: 1
Rep Power: 0
thompsonson is an unknown quantity at this point
Default 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
Reply With Quote
Reply

Tags
api


Posting Rules


All times are GMT +1. The time now is 06:19 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