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

From: pgarceau AT teleport DOT com (Paul Garceau)
Subject: MSVC .rc files/EGCS(1.1)-Mingw32 bug?
22 Oct 1998 13:34:49 -0700 :
Message-ID: <199810220130.SAA22833.cygnus.gnu-win32@cygnus.com>
Reply-To: pgarceau AT teleport DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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?

	Thanks ahead of time for your consideration and time.

	Peace,

		Paul G.

Information Systems Consultant
NewDawn Productions
http://www.teleport.com/~pgarceau/newdawn/
-
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