>Hi Gang >I have started converting my design program using FBtoC 1.0.4 >All of the text as been changed to comply with >FBtoC requirements, but I am now getting in to >an area I have no knowledge of. This will be the >first of many little problems. I have a demo for >a Popupmenu which works fine in FB but refuses >to compile in C > > >.... > >Is there a more modern way of doing Pop up menus? > >Regards >Peter A Boyle (Chief Designer) > It seems a buglet of FBtoC. In CreateMenu edit the line marked with "<<<<<<<" as follow: local fn CreateMenu( menuID as short,¬ menuItems(50) as str31,¬ nItems as short ) dim as MenuRef mHndl dim as long lk mHndl = fn NewMenu( menuID, "" ) long if (mHndl) and ( nItems > 0 )//<<<<<<<<<<<<<<< for lk = 0 to nItems - 1 AppendMenu( mHndl, menuItems(lk) ) next end if end fn = mHndl Michele.