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 Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp _____
Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp --- trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp 2005-10-09 12:41:35 UTC (rev 18374) +++ trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp 2005-10-09 13:05:49 UTC (rev 18375) @@ -2011,7 +2011,7 @@
// 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::ShowSearchComputer() { +#ifndef _ROS_ ///@todo to be removed when SHFindComputer() will be implemented in shell32.dll static DynamicFct<SHFINDCOMPUTER> 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); }