From e42612ca97be9ea11c15068a686b6712ba86fe37 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 9 Oct 2005 13:05:49 +0000 Subject: [PATCH] replace "search computer" start menu entry by a "not yet implemented" message to avoid the crash because of the currently missing SHFindComputer() implementation in shell32.dll svn path=/trunk/; revision=18375 --- reactos/subsys/system/explorer/taskbar/startmenu.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.cpp b/reactos/subsys/system/explorer/taskbar/startmenu.cpp index 0463a1e4e14..93bad510d1b 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.cpp +++ b/reactos/subsys/system/explorer/taskbar/startmenu.cpp @@ -2011,7 +2011,7 @@ int StartMenuHandler::Command(int id, int code) // browse menu case IDC_NETWORK: -#ifdef _ROS_ // to be removed when network will be implemented +#ifdef _ROS_ ///@todo to be removed when network browsing will be implemented in shell namespace MessageBox(0, TEXT("network not yet implemented"), ResString(IDS_TITLE), MB_OK); #else CreateSubmenu(id, CSIDL_NETWORK, ResString(IDS_NETWORK)); @@ -2062,11 +2062,13 @@ void StartMenuHandler::ShowSearchDialog() void StartMenuHandler::ShowSearchComputer() { +#ifndef _ROS_ ///@todo to be removed when SHFindComputer() will be implemented in shell32.dll static DynamicFct SHFindComputer(TEXT("SHELL32"), 91); if (SHFindComputer) (*SHFindComputer)(NULL, NULL); else +#endif MessageBox(0, TEXT("SHFindComputer() not yet implemented in SHELL32"), ResString(IDS_TITLE), MB_OK); }