[vlc-devel] [vlc-commits] win32: use SetThreadErrorMode() if available

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 20 17:19:34 CET 2014


On 20 Feb, Rémi Denis-Courmont wrote :
> On Thu, 20 Feb 2014 17:03:04 +0100, Jean-Baptiste Kempf <jb at videolan.org>
> wrote:
> > On 07 Feb, Rémi Denis-Courmont wrote :
> >> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb 
> >> 7 23:09:26 2014 +0200| [4b5b89cd4b60a16b8de1e916ef297640853f241c] |
> >> committer: Rémi Denis-Courmont
> >> 
> >> win32: use SetThreadErrorMode() if available
> > 
> > When compiled for WinRT, this gave me errors like this
> > core libvlc warning: cannot load module
> > `plugins\access\libaccess_bd_plugin.dll'
> > (The handle is invalid. (error 6))
> > core libvlc warning: cannot load module
> > `plugins\access\libaccess_bd_plugin.dll'
> > (No More files. (error 18))
> > 
> > While this may be WinRT only, this is weird...
> 
> You can remove Set(Thread)ErrorMode if you prefer to have a fatal error
> dialog and terminate the process. I don't think that's an improvement.

So far, disabled it for WinRT seems to be enough. Dialogs don't exist
yet on WinRT.

I might need to compile a 0x601 Win32 version to check on the desktop.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list