[Bug 2774] New: wrc doesn't recognize IDC_MAIN ACCELERATORS property properly

Wine Bugs wine-bugs at winehq.org
Thu Mar 3 21:09:44 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2774

           Summary: wrc doesn't recognize IDC_MAIN ACCELERATORS property
                    properly
           Product: Wine
           Version: 20050111
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: wine-winelib
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: koxta at koxta.net


When compiling:

koxta at hell main $ make
wrc -r -DWINELIB -D_REENTRANT main.rc -o main.res -v
FYI: Starting preprocess
FYI: Starting parse
FYI: Got LANGUAGE 21,1 (0x0415)
FYI: Got GROUP_ICON (107)
FYI: Got GROUP_ICON (108)
FYI: Got MENU (109)
main.rc:57:8: Error: Key code must be an ascii string
make: *** [main.res] Error 1

The problem is in:

/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDC_MAIN ACCELERATORS
BEGIN
    "?",            IDM_ABOUT,              ASCII,  ALT
    "/",            IDM_ABOUT,              ASCII,  ALT
END

After removing those 5 lines, everything works fine. However, this is a default
blank project page generated by visual studio .NET (win32 application). Is it
simply not supported or am I missing something?

Please, help.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list