Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support

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 22nd December 2011
Junior Member
BS.Player Newbie
 
Join Date: Dec 2011
Age: 44
Posts: 4
Rep Power: 0
q12q is on a distinguished road
Default send/receive commands from/to bsplayer using c#

I want to send/receive commands from/to bsplayer, using c# environment.
I went in c:\Program Files\Webteh\BSplayerPro\sdk\ folder and I find there 2 files: bsp.h and bsp.pas. I opened the bsp.h file (is a header for old c/c++ language). I read the instructions there:
Code:
//To get BSPlayer window handle use:
//bsp_hand=FindWindow("BSPlayer",NULL);
// then you can send messages, for ex. to get current version:
// bsp_ver = SendMessage(bsp_hand,WM_BSP_CMD,BSP_GETVERSION,0);
In my c# program, I wrote:
Code:
//Im not sure is correct but im trying
 p_BsPlayer.Handle.ToString(@"bsp_hand=FindWindow(""BSPlayer"",NULL);");
now for the second part...
Code:
//how can I write the next line?
//  then you can send messages, for ex. to get current version:
//   bsp_ver = SendMessage(bsp_hand,WM_BSP_CMD,BSP_GETVERSION,0);  <<<this one
thanks.
Reply With Quote
Reply

Tags
commands, from or to, send or receive

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Remote Wonder plug-in for BSPlayer (dll inside) matz General Talk And Support 18 10th July 2020 07:25 AM
BSP Definitions Manager Tizio General Talk And Support 12 12th November 2013 07:19 PM
BUGS in BSplayer v2.12.941 (Normal/Pro) Tizio Bug Reports And Codecs 0 5th October 2006 06:43 PM
READ THIS FIRST BEFORE POSTING BSPeter General Talk And Support 0 17th January 2005 01:29 AM
Fixing the Icon Problem for yourself neato713 Feature Requests, Feedback And Suggestions 1 3rd October 2004 02:04 PM


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