Original Post
I have a problem.
I created a resource file in notepad with just a MENU called menu.
In my window class, I do this:
winClass.lpszMenuName = LoadMenu(hInstance,"menu");
I am not using a numeric constants either.
when i try to compile this, i get this error
C:\window1\window1.cpp(27) : error C2440: ''='' : cannot convert from ''struct HMENU__ *'' to ''const char *''
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
any help would be appreciated, thanks alot
SaiSoft