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

Rémi Denis-Courmont remi at remlab.net
Thu Feb 20 17:08:28 CET 2014


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.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list