axVLCplugin C# IDE shutdown

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.
radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

axVLCplugin C# IDE shutdown

Postby radnix » 05 Feb 2012 17:19

OS: Windows 7
IDE : .Net Visual Studio 2008 and 2010
Language : C#
VLC : activex axVLCPlugin v1 and v2
Project : x86

After adding the activex com component axVLCPlugin v1 or v2 to a windows form, it compiles ok. Run it and the entire IDE (Visual Studio) shuts down and restarts.

I have registered the axvlc.dll. I have tried this on 3 separate PC's with the same results.

In my project reference : AXVLC and AXAXVLC both version 1.0.0.0

The winform code is a simple form window, no other code or controls.

I have searched our forum for similiar results but no leads.

Anyone experienced this before? Thanks!

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: axVLCplugin C# IDE shutdown

Postby VLC_help » 06 Feb 2012 19:04

Have you tested VLC 2.0.0 ones? They are MUCH better stability wise.

radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: axVLCplugin C# IDE shutdown

Postby radnix » 07 Feb 2012 01:30

Thanks for the suggestion.
No I haven't, where can I get that version?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: axVLCplugin C# IDE shutdown

Postby VLC_help » 07 Feb 2012 16:48


radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: axVLCplugin C# IDE shutdown

Postby radnix » 24 Feb 2012 15:08

I've tried several releases with the MSVS 2008 and 2010 IDE's on three separate PC's with the same IDE shutdown error. Any ideas or suggestions are welcome.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: axVLCplugin C# IDE shutdown

Postby VLC_help » 24 Feb 2012 19:07

So it also crashes with VLC 2.0.0 versions?

radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: axVLCplugin C# IDE shutdown

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

radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: axVLCplugin C# IDE shutdown

Postby radnix » 26 Feb 2012 20:39

Well, I've actually spent a lot of time testing axVLC for embedded activex in ms C# visual studio 2008 and 2010 across Windows XP and 7 with the same problems so I guess I'll have to throw in the towel on the axVLC.dll

Has anyone had any success with other embedded video display activex controls that might be similiar to VLC ? How does MPlayer match up ? Is it a possibility ?

radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: axVLCplugin C# IDE shutdown

Postby radnix » 28 Feb 2012 01:15

Just a side thought : Windows Vista and Windows 7 have what's called DEP : Data Execution Prevention.

I see this causing crashes with older ActiveX controls that give the error "attampted to read or write protected memory".

I wonder if this DEP stuff is a clue. :wink:

radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: axVLCplugin C# IDE shutdown

Postby radnix » 22 Jan 2013 19:36

This is an old post but I may have found a potential solution. I'm testing this now but wanted to post in case I forgot too or if anyone else wanted to try it out:
To fix: click start, type "cmd" into the search box, right click "cmd.exe" in the search results, select "run as admin",
then run this command:
regsvr32 "C:\Program Files (x86)\Internet Explorer\ieproxy.dll"


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 50 guests