delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/23/17:22:34

From: anorland AT hem2 DOT passagen DOT se (Anders Norlander)
Subject: Re: MSVC .rc files/EGCS(1.1)-Mingw32 bug?
23 Oct 1998 17:22:34 -0700 :
Message-ID: <3630322E.97BBD0E9.cygnus.gnu-win32@hem2.passagen.se>
References: <199810220130 DOT SAA22833 AT cygnus DOT com>
Mime-Version: 1.0
To: pgarceau AT teleport DOT com
Cc: gnu-win32 AT cygnus DOT com

Paul Garceau wrote:
> 
> I'm using Windres to convert a .rc file into something EGCS-Mingw32(1.1) can
> understand (I hope).  I continue to get errors from "windres" with these lines:
> 
> (MSVC .rc script -- line 60)
> IDR_MAINFRAME ACCELERATORS MOVEABLE PURE
> BEGIN
>     "/",            ID_APP_ABOUT,           ASCII,  ALT, NOINVERT
>     "?",            ID_APP_ABOUT,           ASCII,  ALT, NOINVERT
> END
> 
> MSVC resource header file:
>         #define IDR_MAINFRAME                   2
>         #define ID_APP_ABOUT                    4
> 
> Error from "windres" (included with Mingw32):
>         "inappropriate modifiers for non-VIRTKEY".
> 
> >From Windows32\defines.h under /* ACCEL structure */:
>         #define FALT                    (16)
>         #define FNOINVERT       (2)
>         ...ASCII undefined.
>         #define FVIRTKEY                (1)
> 
>         Is this a bug?  Is it simply a need to define something called FASCII
> somewhere?  Or, is it both?
No, there is no FASCII, ASCII is assumed if VIRTKEY is not specified or
if you specify ASCII. Anyway, windres should not complain about this.
However, CONTROL is not a valid modifier for this accelerator (don't
know why, but it doesn't work).

Anders Norlander
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019