Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support

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 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!Spurl this Post!Reddit! MySpace
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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!Spurl this Post!Reddit! MySpace
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!Spurl this Post!Reddit! MySpace
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!Spurl this Post!Reddit! MySpace
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!Spurl this Post!Reddit! MySpace
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!Spurl this Post!Reddit! MySpace
Reply With Quote
Reply

Tags
api

Thread Tools
Display Modes

Posting Rules


All times are GMT +1. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.5.2
Ad Management plugin by RedTyger

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