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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,77437cbde85a33d9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-11 10:18:08 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!oleane.net!oleane!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "David Botton" Newsgroups: comp.lang.ada Subject: Re: Dialogresources on WinNT Date: Mon, 11 Sep 2000 13:25:03 -0400 Organization: ENST, France Message-ID: <01b801c01c15$38de7d50$110118ac@dbdell2000> References: <39BD0254.2041DD8B@icn.siemens.de> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: menuisier.enst.fr 968692685 22657 137.194.161.2 (11 Sep 2000 17:18:05 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: 11 Sep 2000 17:18:05 GMT To: Return-Path: X-pair-Authenticated: 63.161.15.130 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: comp.lang.ada mail<->news gateway Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:592 Date: 2000-09-11T17:18:05+00:00 Use windres instead. You can grab a copy off the GWindows page, http://www.adapower.com/gwindows David Botton ----- Original Message ----- From: "Alfred Hilscher" > Hi, > > when I've tried to write a little GUI on Windows NT, I've encountered a > problem. I've written some dialogtemplates, put them in one resource > file (*.rc) and compiled it with the resource compiler (rc.exe). In my > program I call the api-function "DialogBox" twice, once for the first > dialog and (later) again for the second. With the Aonix compiler it > worked well. So I converted the resource (res2coff.exe) for GNAT, by > only one dialog works. When trying to load the otherone the api always > returns errorcode "-1". Any idea what I did wrong ?