diff options
author | Rob Mensching <rob@firegiant.com> | 2024-03-07 01:44:51 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-03-07 10:55:57 -0800 |
commit | dea25ba9bcfd65200b60339c2e4bc060cdf20723 (patch) | |
tree | 91dae5127a7eeb4f0e59252194fc7ec7153a2781 /src/ext/Bal/Samples/bafunctions | |
parent | 3d2d46f62fc01e2653d0251ad9703090574e7c41 (diff) | |
download | wix-dea25ba9bcfd65200b60339c2e4bc060cdf20723.tar.gz wix-dea25ba9bcfd65200b60339c2e4bc060cdf20723.tar.bz2 wix-dea25ba9bcfd65200b60339c2e4bc060cdf20723.zip |
Move wixstdba functions to Bal.wixext build
Diffstat (limited to 'src/ext/Bal/Samples/bafunctions')
-rw-r--r-- | src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp | 3 | ||||
-rw-r--r-- | src/ext/Bal/Samples/bafunctions/bafunctions.cpp | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp b/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp index 14a898e8..a0aa0488 100644 --- a/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp +++ b/src/ext/Bal/Samples/bafunctions/WixSampleBAFunctions.cpp | |||
@@ -74,9 +74,6 @@ HRESULT WINAPI CreateBAFunctions( | |||
74 | HRESULT hr = S_OK; | 74 | HRESULT hr = S_OK; |
75 | CWixSampleBAFunctions* pBAFunctions = NULL; | 75 | CWixSampleBAFunctions* pBAFunctions = NULL; |
76 | 76 | ||
77 | // This is required to enable logging functions. | ||
78 | BalInitialize(pArgs->pEngine); | ||
79 | |||
80 | pBAFunctions = new CWixSampleBAFunctions(hModule); | 77 | pBAFunctions = new CWixSampleBAFunctions(hModule); |
81 | ExitOnNull(pBAFunctions, hr, E_OUTOFMEMORY, "Failed to create new CWixSampleBAFunctions object."); | 78 | ExitOnNull(pBAFunctions, hr, E_OUTOFMEMORY, "Failed to create new CWixSampleBAFunctions object."); |
82 | 79 | ||
diff --git a/src/ext/Bal/Samples/bafunctions/bafunctions.cpp b/src/ext/Bal/Samples/bafunctions/bafunctions.cpp index d26e7cce..72dc1f54 100644 --- a/src/ext/Bal/Samples/bafunctions/bafunctions.cpp +++ b/src/ext/Bal/Samples/bafunctions/bafunctions.cpp | |||
@@ -26,13 +26,16 @@ extern "C" BOOL WINAPI DllMain( | |||
26 | } | 26 | } |
27 | 27 | ||
28 | extern "C" HRESULT WINAPI BAFunctionsCreate( | 28 | extern "C" HRESULT WINAPI BAFunctionsCreate( |
29 | __in const BA_FUNCTIONS_CREATE_ARGS* /*pArgs*/, | 29 | __in const BA_FUNCTIONS_CREATE_ARGS* pArgs, |
30 | __inout BA_FUNCTIONS_CREATE_RESULTS* /*pResults*/ | 30 | __inout BA_FUNCTIONS_CREATE_RESULTS* pResults |
31 | ) | 31 | ) |
32 | { | 32 | { |
33 | HRESULT hr = S_OK; | 33 | HRESULT hr = S_OK; |
34 | 34 | ||
35 | //hr = CreateBAFunctions(vhInstance, pArgs, pResults); | 35 | // This is required to enable logging functions. |
36 | BalInitialize(pArgs->pEngine); | ||
37 | |||
38 | hr = CreateBAFunctions(vhInstance, pArgs, pResults); | ||
36 | BalExitOnFailure(hr, "Failed to create BAFunctions interface."); | 39 | BalExitOnFailure(hr, "Failed to create BAFunctions interface."); |
37 | 40 | ||
38 | LExit: | 41 | LExit: |