delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/02/20:52:54

From: ceroni AT students DOT cs DOT unibo DOT it (Matteo Ceroni)
Subject: Linking Resource Files
2 Nov 1998 20:52:54 -0800 :
Message-ID: <Pine.LNX.3.96.981102120027.3687B-100000.cygnus.gnu-win32@trebbiano.cs.unibo.it>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hello All:

I'm using gnuwin32 for the first time (B19).
My first program consists of these files:

"foo.c", that defines a window class;
"foo.rc", that defines the menu for the window class;

Question: how can I make GCC link the resource file to the executable and get
the window show its menu?

In my attempts, I also used Microsoft SDK tool "Resource Compiler" to get
a ".RES" file, but the problem is the same, I don't know how to link
something's not a library.

Thanks in advance,

Matteo Ceroni

ceroni AT cs DOT unibo DOT it

-
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