controllin vlc from C++ program (not rc interface)

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
oscarml
Blank Cone
Blank Cone
Posts: 19
Joined: 31 Mar 2005 12:10

controllin vlc from C++ program (not rc interface)

Postby oscarml » 08 Nov 2005 08:51

hi

First of all I must say I'm just begining in programming.

I want to make a C program (well, C++ but I think the process is the same, isn`t it?) to control vlc.

I'm using dev-cpp, but I'm not sure about what I have to add in my project.

I've token this directories from vlc source code to my workspace (the place where I have my main program in c++ (the program which use VLC_Play, and other funtions).

./lib
./src
./include and

I've configured this in my project options

for library dir. -> ./lib
for include dir. -> ./include & ./include/vlc
for resource dir. -> ./src

When I try to compile my program, I've this message:

C:\Dev-Cpp\experimentos\CONTROL VLC\Makefile.win [Build Error]

No rule to make target `C:/Dev-Cpp/experimentos/CONTROL', needed by `control.o'. Stop.

Have I to change the vlc makefile? I hope I don't... I think that is easier than I'm trying to do

please... HELP, thanks

mokdevel
Blank Cone
Blank Cone
Posts: 36
Joined: 21 Apr 2005 13:53
Contact:

Re: controllin vlc from C++ program (not rc interface)

Postby mokdevel » 08 Nov 2005 09:29

Hello,
hi
I want to make a C program (well, C++ but I think the process is the same, isn`t it?) to control vlc.
I can't help you with your C problems but you might want to look at this thread about controlling VLC.
viewtopic.php?t=13395
It uses WM_COMMAND to do it and probably is the easiest way. Hope this helps.

oscarml
Blank Cone
Blank Cone
Posts: 19
Joined: 31 Mar 2005 12:10

Postby oscarml » 08 Nov 2005 10:43

I'll look at this, thank you very much.

mokdevel
Blank Cone
Blank Cone
Posts: 36
Joined: 21 Apr 2005 13:53
Contact:

Postby mokdevel » 30 Nov 2005 08:30

I'll look at this, thank you very much.
Did you succeed in commanding VLC with WM_COMMANDs? I can not get VLC to do a thing with SendMessage/PostMessage.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests