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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 19th February 2003
Junior Member
BS.Player Newbie
 
Join Date: Feb 2003
Posts: 1
Rep Power: 0
Soniq is an unknown quantity at this point
Default SDK problem

Hi
I am using Visual C++ 6, and my code is :

//***************
#include <iostream.h>
#include <windows.h>
#include "bsp.h"

void main ()
{
HWND bsp_hand=FindWindow("BSPlayer",NULL);
long bsp_ver = SendMessage(bsp_hand,WM_BSP_CMD,BSP_GETVERSION,0);
cout << oct << bsp_ver << endl;
}
//***************

and the only result i have is : 0x37777777777 (-1 in decimal) when BSPlayer is running (and 0 when it isn't)
So BSPlayer get my message but don't send me the right value, same thing with other message.
Equal probleme on VB6.

Do anyone understand and know what to do ?
I have used 0.86.494 and 0.85 492 but same bug (if it's a bug) on this 2 version.

Thx
__________________
Soniq Exnihilo
(Sorry for the english... I am french :p)
Reply With Quote
  #2 (permalink)  
Old 30th March 2003
axl axl is offline
Junior Member
BS.Player Newbie
 
Join Date: Mar 2003
Posts: 8
Rep Power: 0
axl is an unknown quantity at this point
Default

Confirming this.

I was writing plugin for ATI RemoteWonder and while trying to get version from BSPlaeyer I'm receiving -1 as well
Reply With Quote
  #3 (permalink)  
Old 19th April 2003
Junior Member
BS.Player Newbie
 
Join Date: Apr 2003
Posts: 3
Rep Power: 0
cdrom is an unknown quantity at this point
Default

I cheked it in Delphi and I have same problem replay for getvertion is -1

And I have one more problem Procedure BSP_Exit didn't work Bplay do not exit with build 493. Somebody have the same problem?
Reply With Quote
  #4 (permalink)  
Old 19th April 2003
Junior Member
BS.Player Newbie
 
Join Date: Apr 2003
Posts: 3
Rep Power: 0
cdrom is an unknown quantity at this point
Default

I have more siries problem:
After that I send massege abaut opening file to the BSPlayer my program fails in VC60 with bplay build 494. In Delphi 7 same problem when I send message about opening Subtitles. I work with win98se.
Somebody else have the problem?
Reply With Quote
  #5 (permalink)  
Old 19th 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

I am facing the same problem. I think that it is another major bug of BSplayer. I'm using Delphi and VB6. The "sendmessage" command doesn't work and returns -1 in Delphi and 0 in VB6.
Reply With Quote
  #6 (permalink)  
Old 20th April 2003
Junior Member
BS.Player Newbie
 
Join Date: Apr 2003
Posts: 3
Rep Power: 0
cdrom is an unknown quantity at this point
Default

I found answer for problem that I reported abaot failing my program when I try to open file or subtitle
instead of
SendMessage(b_hWnd, WM_COPYDATA, 0, lParam(@cds));//in delphi
or
SendMessage(b_hwnd, WM_COPYDATA, 0, (LPARAM)&cds);//in VC6
must be used
SendMessageTimeout(b_hWnd, WM_COPYDATA, 0, lParam(@cds), SMTO_ABORTIFHUNG, 1, p); // in Delphi
and
SendMessageTimeout(b_hwnd, WM_COPYDATA, 0, (LPARAM)&cds, SMTO_ABORTIFHUNG, 1, &i);// in VC6
Reply With Quote
Reply

Tags
sdk


Posting Rules


All times are GMT +1. The time now is 09:32 AM.


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