Using the latest VLC 1.0.0 RC-4 release in a C# Windows Forms application. When I try to shut down the application with one or more VLC active-x controls loaded a COMException is thrown trying to call "axVLCPlugin2.playlist.isPlaying;". The exception details are:
Message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Source: Interop.AXVLC
Target Site: {Boolean get_isPlaying()}
Sequence of events:
1) Form_Closing() is called
2) Loop through each loaded VLC control and attempt to stop/unload it
2a) Loop until the player stops:
while (IsPlaying)
{
axVLCPlugin2.playlist.stop();
//PauseForVLC();
}
2b) IsPlaying calls "return axVLCPlugin2.playlist.isPlaying;"
With earlier versions 0.9.9, 0.9.8, etc. VLC would cause/instigate/be a part of a blue screen of death. (I know, I know... VLC can't blue screen; but it part of the problem. See my earlier thread viewtopic.php?f=14&t=58516).
After applying the Regional & Language 'fix' from my earlier post with the earlier versions of VLC the BSOD issue went away. I haven't changed any code; the only change was uninstalling 0.9.9 and installing 1.0.0 RC-4.
I can get around the exception by catching it but now I can't be sure what the real state of the player is.
If nothing else I figured I'd raise the issue before 1.0.0 went final. Any suggestions/advice are always appreciated.
Daniel