Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > Bug Reports And Codecs
Register FAQ Calendar Today's Posts Search

Bug Reports And Codecs Report BS.Player bugs here - help us to improve BS.Player even further.

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3 (permalink)  
Old 24th September 2003
Junior Member
BS.Player Newbie
 
Join Date: Sep 2003
Posts: 2
Rep Power: 0
smorrowatwork is an unknown quantity at this point
Default

Yes, and it works.

According to the API the return value is the version number.

// BSPlayer API v 1.0
//
// To get BSPlayer window handle use:
// bsp_hand = FindWindow("BSPlayer",vbNullString)
//
// then you can send messages, for ex. to get current version:
// bsp_ver = SendMessage(bsp_hand,WM_BSP_CMD,BSP_GETVERSION,0)

' Return player version
' format will be XX.YY.ZZZZ -> &HXXYYZZZZ
' for 0.84.484 -> &H00840484

However the BSP_GetFilename message uses a pointer to a buffer to contain the filename. The buffer gets filled with a few '?' instead of the filename.

-smorrowatwork
Reply With Quote
 

Tags
api, bspgetfilename, troubles


Posting Rules


All times are GMT +1. The time now is 07:08 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, 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