vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Thu Feb 20 16:59:33 2014 +0100| [467c2535f24b733720ea17cf0eb157dd66c7c081] | committer: Jean-Baptiste Kempf
Fix Windows plugin loading for Windows Store App SetThreadErrorMode is only for desktop mode > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=467c2535f24b733720ea17cf0eb157dd66c7c081 --- src/win32/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32/plugin.c b/src/win32/plugin.c index 6b861aa..9dfc4d0 100644 --- a/src/win32/plugin.c +++ b/src/win32/plugin.c @@ -58,14 +58,14 @@ int module_Load( vlc_object_t *p_this, const char *psz_file, return -1; module_handle_t handle = NULL; -#if (_WIN32_WINNT >= 0x601) +#if (_WIN32_WINNT >= 0x601) && !VLC_WINSTORE_APP DWORD mode; if (SetThreadErrorMode (SEM_FAILCRITICALERRORS, &mode) == 0) #endif { handle = LoadLibraryW (wfile); -#if (_WIN32_WINNT >= 0x601) +#if (_WIN32_WINNT >= 0x601) && !VLC_WINSTORE_APP SetThreadErrorMode (mode, NULL); #endif } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits