Page 1 of 1

C# application vlc version code

Posted: 31 May 2008 17:51
by radnix
:) Hi,
I've got a simple question that probably has to do with VLC version differences:

This is a C# application that is a simple play movie that works fine:

Criteria : Windows xp .net C# application toolbox add -Activex Videolan plugin version 1

axVLCPlugin1.addTarget(@"c:\Movies\Boom_Tow_BB.mpg", null, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0);
axVLCPlugin1.play();

Compiles and runs fine. But ( and this is my question), when I install VLC version 0.8.6f and try:

Criteria : Windows xp .net C# application toolbox add -Activex Videolan plugin version 2

axVLCPlugin21.addTarget(@"c:\Movies\Boom_Tow_BB.mpg", null, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0);
axVLCPlugin21.play();

Compile error :

Error 1 'AxAXVLC.AxVLCPlugin2' does not contain a definition for 'addTarget' C:\Lab_II\TerraSite\WebStuff\WebStuff\Form1.cs 95 27 WebStuff
Error 2 'AxAXVLC.AxVLCPlugin2' does not contain a definition for 'play' C:\Lab_II\TerraSite\WebStuff\WebStuff\Form1.cs 96 27 WebStuff


Did something change? What 's the proper way to use axVLCPlugin21 as I'd used it with the axVLCPlugin1?

:? ..... thanks ahead.