I have made a resource file, built it, and made a menu. I made a include file that has all the definitions for the resources. Now I am editing the Window class to put the menu in, and I type in this:
The resource file built fine, but when I try to compile my source it says:Code:
sampleClass.lpszMenuName = LoadMenu(hinstance, MAKEINTRESOURCE(Menubar));
assignment to 'const CHAR *' from 'HMENU__ *'