X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78a054f6677cfeaa8a1f78c8de4507ea50af379c..169adfa9c4b781f737920bc808da91cd926c3e36:/src/msw/utils.cpp diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 977ae5d5c3..567034d027 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -825,6 +825,8 @@ static void InitToolHelp32() lpfProcess32First = NULL; lpfProcess32Next = NULL; +#if wxUSE_DYNLIB_CLASS + wxDynamicLibrary dllKernel(_T("kernel32.dll"), wxDL_VERBATIM); // Get procedure addresses. @@ -841,6 +843,8 @@ static void InitToolHelp32() lpfProcess32Next = (Process32_t)dllKernel.RawGetSymbol(_T("Process32Next")); + +#endif // wxUSE_DYNLIB_CLASS } // By John Skiff