|
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 |
| |||
SDK problem 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) |
| |||
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? |
| |||
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? |
| |||
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. |
| |||
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 |
Tags |
sdk |
| |