Postby radnix » 25 Feb 2012 01:39
6:00pm Oh, new release. I'll give it a try and report back. Thanks!
7:00pm : Dratz ! Sorry to say same results. IDE shutdown. Also tried cleaning the registry with CCleaner then reinstalling VLC 2.0.0. WinForm app using VLC Plugin as noted above.
Code posting:
project references :
AxInterop.AXVLC
Interop.AXVLC
x86
string movie = @"C:\Lab_2008\VLC_EmbeddedTest2\VLC_EmbeddedTest2\Movies\MISP.mpg";
private void button1_Click(object sender, EventArgs e)
{
try
{
if (File.Exists(movie) == false) { MessageBox.Show("Movie not there: " + movie); return; }
axVLCPlugin21.playlist.add(movie, null, null);// "Video1", null);
axVLCPlugin21.playlist.play();
}
catch (Exception e1) { MessageBox.Show("Error Play:" + e1.Message); }
}
private void button2_Click(object sender, EventArgs e)
{
try
{
axVLCPlugin21.playlist.togglePause();
}
catch (Exception e2) { MessageBox.Show("Error Pause:" + e2.Message); }
}
private void button3_Click(object sender, EventArgs e)
{
try
{
axVLCPlugin21.playlist.stop();
}
catch (Exception e3) { MessageBox.Show("Error Stop:" + e3.Message); }
}
It was a good try. I'll continue working on this and will post any success I may find, as always : open to any ideas / suggestions.
Latest release Warning :
Warning 1 Type library importer has encountered a duplicate type name: 'AXVLC.VLCPlaylistMode'. VLC_EmbeddedTest2
Warning 2 Type 'VLCPlaylistMode' is invalid and may only be partially converted. VLC_EmbeddedTest2