comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: Dialogresources on WinNT
Date: Mon, 11 Sep 2000 18:03:32 +0200
Date: 2000-09-11T18:03:32+02:00	[thread overview]
Message-ID: <39BD0254.2041DD8B@icn.siemens.de> (raw)

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 ?



             reply	other threads:[~2000-09-11 16:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-11 16:03 Alfred Hilscher [this message]
2000-09-11 16:58 ` Dialogresources on WinNT Pascal Obry
2000-09-11 17:25 ` David Botton
2000-09-11 18:05 ` tmoran
2000-09-11 18:33   ` David Botton
2000-09-12 10:19 ` Alfred Hilscher
replies disabled

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