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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6256d003d70668b,start X-Google-Attributes: gid103376,public From: John English Subject: Binding Win32 resources into GNAT executables? Date: 2000/02/10 Message-ID: <38A296A4.B9AE7D1D@bton.ac.uk>#1/1 X-Deja-AN: 584062456 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@bton.ac.uk X-Trace: saturn.bton.ac.uk 950179316 24278 193.62.183.204 (10 Feb 2000 10:41:56 GMT) Organization: University of Brighton Mime-Version: 1.0 NNTP-Posting-Date: 10 Feb 2000 10:41:56 GMT Newsgroups: comp.lang.ada Date: 2000-02-10T10:41:56+00:00 List-Id: 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 -----------------------------------------------------------------