Original Post
hi, when i compile a program with simple about dialog, and my resource file contains these:
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
DEFPUSHBUTTON "CANCEL", IDCANCEL
END
and comes with the error message:
Compiling resources...
D:\PROJECTS\Sample1\Sample1.rc (17): error RC2104 : undefined keyword or key name: DS_MODALFRAME
Error executing rc.exe.
what is the problem?
how can i solve it?
thanks
Terry