From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6256d003d70668b X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Binding Win32 resources into GNAT executables? Date: 2000/02/10 Message-ID: <87umbo$edk$1@nnrp1.deja.com>#1/1 X-Deja-AN: 584071598 References: <38A296A4.B9AE7D1D@bton.ac.uk> X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Feb 10 15:43:53 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-02-10T00:00:00+00:00 List-Id: In article <38A296A4.B9AE7D1D@bton.ac.uk>, John English wrote: > 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. If you installed everything in the default locations, there's a section in the super-secret documentation (the GNAT for Windows NT: User's Guide) that describes all this at file:///C|/GNAT/Documentation/gnat_ug.html#SEC185 . If you need to find this document again, it should be hidden in your start menu under the program group "Gnat Ada95 Compiler. But don't tell anyone I told you. ;-) -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.