From 3d615bbebf537bea6ae93fc46abd3af7113fab66 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 1 Sep 2014 13:54:22 +0200 Subject: Fix (ICE-3445) - consider not installing internal header files --- cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/test/WinRT/TestSuite/MainPage.xaml.cpp') 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 #include #include #include @@ -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; } -- cgit v1.2.3