← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/bug1010746b into lp:zorba

 

Rodolfo Ochoa has proposed merging lp:~zorba-coders/zorba/bug1010746b into lp:zorba.

Requested reviews:
  Juan Zacarias (juan457)
Related bugs:
  Bug #1010746 in Zorba: "animation.xq test crashes using Windows installer"
  https://bugs.launchpad.net/zorba/+bug/1010746

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug1010746b/+merge/123423

Fix to avoid message box on windows and the error can be handled by Zorba only.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug1010746b/+merge/123423
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/context/dynamic_loader.cpp'
--- src/context/dynamic_loader.cpp	2012-08-30 13:45:43 +0000
+++ src/context/dynamic_loader.cpp	2012-09-08 16:31:23 +0000
@@ -153,7 +153,7 @@
                       0, aFile.c_str(), -1,
                       wpath_str, sizeof(wpath_str)/sizeof(WCHAR));
   }
-
+  SetErrorMode(SEM_NOOPENFILEERRORBOX);
   handle = LoadLibraryW(wpath_str);
   if (!handle)
     throw ZORBA_EXCEPTION(


Follow ups