comp.lang.ada
 help / color / mirror / Atom feed
* Dialogresources on WinNT
@ 2000-09-11 16:03 Alfred Hilscher
  2000-09-11 16:58 ` Pascal Obry
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Alfred Hilscher @ 2000-09-11 16:03 UTC (permalink / 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 ?



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-09-12 10:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11 16:03 Dialogresources on WinNT Alfred Hilscher
2000-09-11 16:58 ` 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

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