summaryrefslogtreecommitdiff
path: root/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-09-01 13:54:22 +0200
committerJose <jose@zeroc.com>2014-09-01 13:54:22 +0200
commit3d615bbebf537bea6ae93fc46abd3af7113fab66 (patch)
tree4b0d17bc7bc2ad9430b8af719bb057fdb3de9a67 /cpp/test/WinRT/TestSuite/MainPage.xaml.cpp
parentNew fix for ICE-5637: Glacier2CryptPermissionsVerifier plugin + Glacier2Inter... (diff)
downloadice-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.cpp5
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;
}