TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Fri, 27 Oct 2000 13:34:56 +1100
Reply-To: "Alexey V. Litvinov" <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset="iso-8859-1"
From: "Alexey V. Litvinov" <[log in to unmask]>
Parts/Attachments: text/plain (23 lines)
-----Original Message-----
From: Team Ada: Ada Advocacy Issues (83 & 95) [mailto:[log in to unmask]]On
Behalf Of Pascal Obry
Sent: Thursday, October 26, 2000 10:35 PM
To: [log in to unmask]
Subject: Re: Ada95 and Resource files.

> I just had a quick question.  I'm developing in Ada for the windows
> platform, and I was wondering, does Ada work with the standard
> .RC and .RES
> resource files?  for things such as icons, menu and hotkeys, forms?

>Yes, sure. The way to do that may vary from compiler to compiler. With
>ObjectAda you can use the Microsoft res compiler, with GNAT you should
>use Windres (best choice), or RCL plus res2coff. Have a look at the
>GNAT USer's Guide.

From my expirience best choice is to use Microsoft RC, since for example I
have script
that windres incorectly compling. (If you thought that this script too
complicated, I would say it's not.
That just couple of dialogs with buttons and edit boxes).