Hello, I have recently started programming in WIN32 API in DEV-C++, where I encountred several problems with resources handling:
1)whenever I change my resource file, the compiler throws a syntax error:
{
[Warning] ISO C requires whitespace after the macro name
unrecognized escape sequence unrecognized escape sequence
}
which, for some paranormal reason can be only fixed by editing the resource header file (PROJECT_NAME.h) in any way(adding whitespace, deleting one, whatever...)
2) adding MENUITEM in
Code:
MAINMENU MENU DISCARDABLE
BEGIN
POPUP "FILE"
BEGIN
MENUITEM "The error", IDM_ERROR
END
END
Throws a syntax error
Does anyone has any idea, where the problem could be?
Thanks.