Designing Interface to handle click event


 
Thread Tools Search this Thread
Top Forums Programming Designing Interface to handle click event
# 1  
Old 02-10-2007
Designing Interface to handle click event

Hi All,

Problem statement:- I want to incorporate for my project few click events which will be able to play files in M-player through C.

What I want if a user initiate a "PLAY" button from html code , this should trigger my C code... which will help me playing files on M-player

I am not able to frame how to start.. Can somebody provide me certain guidelines how to proceed.

Thanks in Anticipation
# 2  
Old 02-10-2007
The simplest way would be to use the stdin interface to mplayer and feed to appropriate commands to it using a pipe, then you would need only worry about whether or not you are sending the correct commands to it, you could do this using something like php or perl using cgi, which would be simpler to implement than a C program.
# 3  
Old 02-10-2007
Hi Reborg,

Only limitation is this my code will be in C.......
So if u can provide in C-style....

Or if u can provide how I can read click event from GUI and will perform accordingly...

eg If I will get pause command from GUI....my c-code should send M-player stop reading from the buffer....and again if I will press play...it should start again reading from the buffer....

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between handle to the thread HANDLE and thread identifier pthread_t

This question might be silly but its confusing me a bit: What is the difference between handle to the thread HANDLE and thread identifier pthread_t? ---------- Post updated at 01:52 PM ---------- Previous update was at 01:48 PM ---------- Sorry I saw details and HANDLE is in windows and... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

2. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

3. Shell Programming and Scripting

Designing

Dear all, Do you guys use any tool to design shell scripts?. My requirement is to simplify the logic/design of shell scripts before you actually write it. In other words i need to put the design i have in mind to words before i start writing it. Thanks in advance. (3 Replies)
Discussion started by: earlysame55
3 Replies

4. UNIX for Dummies Questions & Answers

Left click select,right click copy

Hi all, when i ssh into my linux machine, i can do a double left click and then right click to paste it anywhere i need. However, on the actual machine, in the terminal, i cannot do a double left click and right click to paste it. i need to right click and select Copy followed by click click... (1 Reply)
Discussion started by: new2ss
1 Replies

5. UNIX for Advanced & Expert Users

Unix Kernel Designing

Hello, I want to know what a kernel is? what are its functions and uses. what is a unix kernel? can i make a new kernel like unix or any other OS. if yes what type of programming is needed or can i use C programming language.if there is C, then what kind of C is required (hardware like... (2 Replies)
Discussion started by: vibhory2j
2 Replies

6. Shell Programming and Scripting

designing a shell

Hi I need to expand some shell code so it would be able to do more than it is doing now. Currently it can do stuff like quit when q is pressed, display a prompt but not much more. I have to make the shell have capabilities like cd (changing directories) redirection of input and output, for... (2 Replies)
Discussion started by: newtoallthis
2 Replies
Login or Register to Ask a Question