Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support
Register FAQ Calendar Today's Posts Search

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 Search this Thread Display Modes
  #1 (permalink)  
Old 12th August 2003
Junior Member
BS.Player Newbie
 
Join Date: Aug 2003
Posts: 1
Rep Power: 0
icefixer is an unknown quantity at this point
Default Problem with the BSplayer API

Hi, i am try to develop an autorun program for my DivX movies but i have a problem using the bsp.pas
my project in delphi 7 compile without error( i have enter the unit bsp.pas
'uses bsp in bsp.pas' in the project code)
but the BSplayer didn't accept the message i try to send with the following
code:

procedure TfrmBSLoader.btnPlayMovieClick(Sender: TObject);
var
bsp_handle: HWND;
i, j: Integer;
begin

ShellExecute(bsp_handle,'Open','bplay.exe',' "BSinit.bsi" ', ' ' ,SW_SHOWNORMAL) ;
bsp_handle:=FindWindow('BSPlayer',nil);
SendMessage(bsp_handle,WM_BSP_CMD,BSP_CycleSub,0);
Application.Terminate;
end;
__________________
Nemo regit meus vita
Reply With Quote
Reply

Tags
api


Posting Rules


All times are GMT +1. The time now is 07:34 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