From 8d3be283982f3092b0ca642894a62000ad09b381 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sat, 3 Jan 2004 18:35:31 +0000 Subject: [PATCH] link dynamicly to SHBindToParent() svn path=/trunk/; revision=7425 --- reactos/subsys/system/explorer/dialogs/searchprogram.cpp | 7 ++++++- reactos/subsys/system/explorer/doxy-footer.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/explorer/dialogs/searchprogram.cpp b/reactos/subsys/system/explorer/dialogs/searchprogram.cpp index 9989ea60891..46ed4412a9d 100644 --- a/reactos/subsys/system/explorer/dialogs/searchprogram.cpp +++ b/reactos/subsys/system/explorer/dialogs/searchprogram.cpp @@ -185,7 +185,12 @@ void FindProgramDlg::collect_programs_callback(Entry* entry, void* param) LPCITEMIDLIST pidl_last = NULL; IShellFolder* pFolder; - HRESULT hr = SHBindToParent(shell_path, IID_IShellFolder, (LPVOID*)&pFolder, &pidl_last); + static DynamicFct SHBindToParent(TEXT("SHELL32"), "SHBindToParent"); + + if (!SHBindToParent) + return; + + HRESULT hr = (*SHBindToParent)(shell_path, IID_IShellFolder, (LPVOID*)&pFolder, &pidl_last); if (SUCCEEDED(hr)) { hr = pFolder->GetUIObjectOf(pThis->_hwnd, 1, &pidl_last, IID_IShellLink, NULL, (LPVOID*)&pShellLink); diff --git a/reactos/subsys/system/explorer/doxy-footer.html b/reactos/subsys/system/explorer/doxy-footer.html index 849dfaae460..89fcacec46c 100644 --- a/reactos/subsys/system/explorer/doxy-footer.html +++ b/reactos/subsys/system/explorer/doxy-footer.html @@ -3,7 +3,7 @@
ROS Explorer Source Code Documentation -
generated on 02.01.2004 by +
generated on 03.01.2004 by
doxygen