Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/index.php)
-   General Talk And Support (http://forum.bsplayer.com/forumdisplay.php?f=8)
-   -   Problem with the BSplayer API (http://forum.bsplayer.com/showthread.php?t=2309)

icefixer 12th August 2003 10:30 AM

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;


All times are GMT +1. The time now is 03:34 PM.

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