VLC ActiveX based app crashes with VLC 1.1.x

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.
tcc
Blank Cone
Blank Cone
Posts: 93
Joined: 24 Feb 2009 03:41

VLC ActiveX based app crashes with VLC 1.1.x

Postby tcc » 23 Sep 2010 23:06

Hi,

I have an app that uses VLC ActiveX control that was built with vstudio 2008/C# and runs using VLC 1.0.3.

With VLC 1.1.4 installed, the app crashes (crash text below) and the build fails under vstudio.

1) Do I need to install the ActiveX control from VLC 1.1.4 into vstudio?
2) Are newer versions of the following files required? Is there a download link for them?

- AxInterop.AXVLC.dll
- Interop.AXVLC.dll

Regards,

Tcc

...crash text

Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: simp.exe
Problem Signature 02: 1.0.2.4
Problem Signature 03: 4bcbc279
Problem Signature 04: AxInterop.AXVLC
Problem Signature 05: 1.0.0.0
Problem Signature 06: 4b4a2e8a
Problem Signature 07: 4a
Problem Signature 08: 14
Problem Signature 09: System.InvalidCastException
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 1033
...

tcc
Blank Cone
Blank Cone
Posts: 93
Joined: 24 Feb 2009 03:41

Re: VLC ActiveX based app crashes with VLC 1.1.x

Postby tcc » 25 Sep 2010 16:29


2) Are newer versions of the following files required? Is there a download link for them?

- AxInterop.AXVLC.dll
- Interop.AXVLC.dll
I remember now, these files are created by VStudio from the axvlc.dll file and are placed in the in the project output directory. So, possibly I should just delete the existing files and let vstudio recreate them from the 1.1.4 axvlc.dll file.

tcc
Blank Cone
Blank Cone
Posts: 93
Joined: 24 Feb 2009 03:41

Re: VLC ActiveX based app crashes with VLC 1.1.x

Postby tcc » 29 Sep 2010 20:40

I have successfully rebuilt the app in vstudio using ActiveX v2 from VLC 1.1.4, but the app still crashes on WIn7 x64 with the same crash signature as in my original post.

Is anyone running VLC ActiveX control v2 on Windows 7 x64?

Regards,
Tim

alt236
New Cone
New Cone
Posts: 3
Joined: 01 Aug 2010 01:22

Re: VLC ActiveX based app crashes with VLC 1.1.x

Postby alt236 » 12 Oct 2010 23:36

Try changing the platform of your application to x86 instead of "Any CPU".

The setting can be found in your project properties, under "Compile".

Bebel
New Cone
New Cone
Posts: 7
Joined: 25 Mar 2010 15:21

Re: VLC ActiveX based app crashes with VLC 1.1.x

Postby Bebel » 15 Oct 2010 11:53

How have you recompile the activex from 1.1.4 lib?
I try to add it in toolbox manager in Visual Studio 2008, but axvlc.dll is not a COM component for microsoft...
Thanks for your help

Abel

tcc
Blank Cone
Blank Cone
Posts: 93
Joined: 24 Feb 2009 03:41

Re: VLC ActiveX based app crashes with VLC 1.1.x

Postby tcc » 10 Nov 2010 16:22

Try changing the platform of your application to x86 instead of "Any CPU".

The setting can be found in your project properties, under "Compile".
Yes, this indeed does solve the problem. Thanks! I had tried this a while ago without success but that was do to some sloppiness on my part...
How have you recompile the activex from 1.1.4 lib?
I try to add it in toolbox manager in Visual Studio 2008, but axvlc.dll is not a COM component for microsoft...
Thanks for your help

Abel
If I recall correctly, this is how to add axVLC to vstudio
(1) delete the obj and bin subdirectories under your project. These will be recreated by vstdudio.
(2) add axVLC.dll as a Reference. This is done on the right side of vstudio in the Solution Explorer tree
(3) you should then be able to add axVLC control to the toolbox.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 40 guests