This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linking Resource Files



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@cs.unibo.it

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]