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
|