comp.lang.ada
 help / color / mirror / Atom feed
From: John English <je@bton.ac.uk>
Subject: Binding Win32 resources into GNAT executables?
Date: 2000/02/10
Date: 2000-02-10T10:41:56+00:00	[thread overview]
Message-ID: <38A296A4.B9AE7D1D@bton.ac.uk> (raw)

I've been playing with Win32 bindings under GNAT but have run into
a problem with dialogs, which are defined in a resource file.  The
resource file has been compiled from a .rc file to a .res file, but
I'm at a loss as to how to link this into my executable. Gnatlink
doesn't recognise the format of the .res file (which surpises me
very little), and I presume I'm just being extremely dense.

Can anyone out there help this particular bear-of-very-little-brain
solve what must presumably be an extremely trivial problem?

Also, is there any way of binding resources into an object file
so that a package can be distributed in compiled form with all
the resources built in?

TIA,

-----------------------------------------------------------------
 John English              | mailto:je@brighton.ac.uk
 Senior Lecturer           | http://www.it.bton.ac.uk/staff/je
 Dept. of Computing        | ** NON-PROFIT CD FOR CS STUDENTS **
 University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------




             reply	other threads:[~2000-02-10  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-10  0:00 John English [this message]
2000-02-10  0:00 ` Binding Win32 resources into GNAT executables? Ted Dennison
2000-02-11  0:00   ` John English
2000-02-11  0:00     ` Ted Dennison
2000-02-11  0:00       ` John English
2000-02-10  0:00 ` David Botton
2000-02-10  0:00 ` Vladimir Olensky
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox