Vlc 2.1.5 integration no longer works after upgrading to 2.2.0

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
pvl
New Cone
New Cone
Posts: 5
Joined: 27 Jan 2014 12:33

Vlc 2.1.5 integration no longer works after upgrading to 2.2.0

Postby pvl » 26 Mar 2015 15:52

Hi

I have a smalltalk application that integrates a vlc active x component in its GUI. This application was developed with vlc 2.1.2.
For the people who speak smalltalk, the important bit looks like this:

spec := ActiveXSpec new.
spec progId: 'VideoLAN.VLCPlugin.2'.

Now however, with version 2.2.0, this no longer seems to work (at all, not a single interface function can be called, the COM dispatcher seems like it is not initialized correctly).

Has something changed in the way Active X integrations work for version 2.2.0? New classId? new prog ID? new anything I should know about?

cheers
pvl

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Vlc 2.1.5 integration no longer works after upgrading to 2.2.0

Postby Jean-Baptiste Kempf » 27 Mar 2015 16:20

What are the errors?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ddbock
New Cone
New Cone
Posts: 1
Joined: 02 Apr 2015 13:10

Re: Vlc 2.1.5 integration no longer works after upgrading to 2.2.0

Postby ddbock » 02 Apr 2015 13:14

There is a problem with initializing the COM dispatcher because there is a name collision for versionInfo.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Vlc 2.1.5 integration no longer works after upgrading to 2.2.0

Postby da2424 » 05 Apr 2015 01:14

Previously, there was only a property named vlc.VersionInfo.
Since v2.2.0, there is also a method named vlc.versionInfo() for compatibility with the mozilla plugin.

Code snippet from axvlc.idl:

Code: Select all

[propget, helpstring("Returns VLC Version.")] HRESULT VersionInfo([out, retval] BSTR* version); [helpstring("Returns VLC Version.")] HRESULT versionInfo([out, retval] BSTR* version);

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Vlc 2.1.5 integration no longer works after upgrading to 2.2.0

Postby Jean-Baptiste Kempf » 08 Apr 2015 11:28

There is a problem with initializing the COM dispatcher because there is a name collision for versionInfo.
Are you sure? How did you debug that, btw?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 40 guests