diff options
Diffstat (limited to 'src/ext/Bal/Samples')
-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: |