Tags
c++ , dev c++
Asked 8 years ago
13 Aug 2016
Views 1497
sandip

sandip posted

AppendMenu() give error invalid conversion from 'int' to 'LPCSTR at dev c++ window application

i am trying to appendmenu at dev c++ for window application making

AppendMenu(hmenu,MF_POPUP, NULL ,'Edit');


give me error like

[Error] invalid conversion from 'int' to 'LPCSTR {aka const char*}' [-fpermissive]
so help . i am beginner at c++ for window application .
dilip

dilip
answered Nov 30 '-1 00:00

it simple jst use below code

			AppendMenu(hmenu,MF_POPUP, NULL ,"Edit");



Post Answer