Unable to cast COM object of type 'System.__ComObject' to interface type 'AXVLC.IVLCPlaylist'. (in c# app)
Posted: 07 Apr 2015 16:29
Hi,
I'm testing an application at work built in C# using win forms.
It's working fine on my colleague who built it's PC but not on mine.
I have the latest version of VLC.
I get the following error when trying to load videos into the players
************** Exception Text **************
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'AXVLC.IVLCPlaylist'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{54613049-40BF-4035-9E70-0A9312C0188D}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
Anyone any ideas - I'm thinking maybe the version of VLC? I'll know more maybe when she's back in tomorrow but right now I can't tell you anymore about the codebase.
Thanks!
I'm testing an application at work built in C# using win forms.
It's working fine on my colleague who built it's PC but not on mine.
I have the latest version of VLC.
I get the following error when trying to load videos into the players
************** Exception Text **************
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'AXVLC.IVLCPlaylist'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{54613049-40BF-4035-9E70-0A9312C0188D}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
Anyone any ideas - I'm thinking maybe the version of VLC? I'll know more maybe when she's back in tomorrow but right now I can't tell you anymore about the codebase.
Thanks!