diff options
author | Jose <jose@zeroc.com> | 2014-09-01 13:54:22 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-09-01 13:54:22 +0200 |
commit | 3d615bbebf537bea6ae93fc46abd3af7113fab66 (patch) | |
tree | 4b0d17bc7bc2ad9430b8af719bb057fdb3de9a67 /cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | |
parent | New fix for ICE-5637: Glacier2CryptPermissionsVerifier plugin + Glacier2Inter... (diff) | |
download | ice-3d615bbebf537bea6ae93fc46abd3af7113fab66.tar.bz2 ice-3d615bbebf537bea6ae93fc46abd3af7113fab66.tar.xz ice-3d615bbebf537bea6ae93fc46abd3af7113fab66.zip |
Fix (ICE-3445) - consider not installing internal header files
Diffstat (limited to 'cpp/test/WinRT/TestSuite/MainPage.xaml.cpp')
-rw-r--r-- | cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp index 5daab0e7d0f..696b40f5e52 100644 --- a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp +++ b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp @@ -8,7 +8,6 @@ // ********************************************************************** #include "MainPage.xaml.h" -#include <IceUtil/StringUtil.h> #include <TestCommon.h> #include <string> #include <iostream> @@ -115,7 +114,9 @@ public: _hnd = LoadPackagedLibrary(IceUtil::stringToWstring(_test).c_str(), 0); if(_hnd == 0) { - printLineToConsoleOutput("failed to load `" + _test + "': " + IceUtilInternal::lastErrorToString()); + ostringstream os; + os << "failed to load `" << _test + "': error code: " << GetLastError(); + printLineToConsoleOutput(os.str()); completed(-1); return; } |