comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: resources
Date: 1998/06/19
Date: 1998-06-19T00:00:00+00:00	[thread overview]
Message-ID: <u67hxz70o.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 01bd9b77$90e3bea0$86b537c3@carlos


"Carlos Piqueres Ayela" <piqueres@mundivia.es> writes:

> Hello !
> 
> A simple question.
> How can I compile a resource file (for W95 *.rc) with GNAT 3.10 ??
> I'm trying to do I little program in C and calling it from an Ada program.
> And I wanted to include some resources in the C program (menus and things
> like that) directly in C, not using tha Win32Ada.

Under a "typical" Windows Integrated Developement Environment (IDE),
the IDE knows which compiler to call for each source file; the C++
compiler for foo.cpp, the C compiler for foo.c, and the resource
compiler for foo.rc. GNAT provides a command line environment, which
knows about Ada and C, but not resources. So you have to call the
resource compiler yourself. This is easily automated with make files.

Consult your Windows IDE about what the resource compiler is called. I
don't think there is a gnu one; look on Jerry Van Dijk's page
http://stad.dsl.nl/~jvandyk/ - he has the best collection of Ada on
Win95 stuff.
> 
> Thank you.

-- Stephe




  reply	other threads:[~1998-06-19  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-19  0:00 resources Carlos Piqueres Ayela
1998-06-19  0:00 ` Stephen Leake [this message]
1998-06-19  0:00   ` resources Jerry van Dijk
replies disabled

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