From bb7b3dc1bc20629e04014b3f049cc30625a1a06c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 16 May 2020 21:52:31 +1000 Subject: WIXFEAT:6164 Update to latest balutil. --- src/test/examples/TestEngine/Example.TestEngine.vcxproj | 12 ++++++------ src/test/examples/TestEngine/TestEngine.cpp | 4 ++-- src/test/examples/TestEngine/packages.config | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/test/examples/TestEngine') diff --git a/src/test/examples/TestEngine/Example.TestEngine.vcxproj b/src/test/examples/TestEngine/Example.TestEngine.vcxproj index b9425295..ef54389d 100644 --- a/src/test/examples/TestEngine/Example.TestEngine.vcxproj +++ b/src/test/examples/TestEngine/Example.TestEngine.vcxproj @@ -1,9 +1,9 @@ - - - + + + Debug @@ -68,8 +68,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/src/test/examples/TestEngine/TestEngine.cpp b/src/test/examples/TestEngine/TestEngine.cpp index 7b7dafce..a6a21174 100644 --- a/src/test/examples/TestEngine/TestEngine.cpp +++ b/src/test/examples/TestEngine/TestEngine.cpp @@ -53,7 +53,7 @@ HRESULT TestEngine::LoadBA( m_pCreateResults->cbSize = sizeof(BOOTSTRAPPER_CREATE_RESULTS); m_hBAModule = ::LoadLibraryExW(wzBAFilePath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH); - ExitOnNullWithLastError(m_hBAModule, hr, "Failed to load BA dll."); + ConsoleExitOnNullWithLastError(m_hBAModule, hr, CONSOLE_COLOR_RED, "Failed to load BA dll."); pfnCreate = (PFN_BOOTSTRAPPER_APPLICATION_CREATE)::GetProcAddress(m_hBAModule, "BootstrapperApplicationCreate"); ConsoleExitOnNull(pfnCreate, hr, E_OUTOFMEMORY, CONSOLE_COLOR_RED, "Failed to get address for BootstrapperApplicationCreate."); @@ -181,7 +181,7 @@ HRESULT TestEngine::BAEngineQuit( if (!::PostThreadMessageW(m_dwThreadId, WM_TESTENG_QUIT, static_cast(pArgs->dwExitCode), 0)) { - ExitWithLastError(hr, "Failed to post shutdown message."); + ConsoleExitWithLastError(hr, CONSOLE_COLOR_RED, "Failed to post shutdown message."); } LExit: diff --git a/src/test/examples/TestEngine/packages.config b/src/test/examples/TestEngine/packages.config index 23b191d4..1b4c9487 100644 --- a/src/test/examples/TestEngine/packages.config +++ b/src/test/examples/TestEngine/packages.config @@ -1,7 +1,7 @@  - - - + + + \ No newline at end of file -- cgit v1.2.3-55-g6feb