comp.lang.ada
 help / color / mirror / Atom feed
* GetOpenFilename
@ 1999-04-15  0:00 Boulais, Jeffrey M
  1999-04-16  0:00 ` GetOpenFilename Stephen Leake
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Boulais, Jeffrey M @ 1999-04-15  0:00 UTC (permalink / raw)


I am trying to use GetOpenFilename to get an open file dialong.  I have code
that work fine under gnat 3.04
( using -gnatp ) that doesn't work now under gnat3.11 (w/o -gnatp).  I was
previously using an unchecked
conversion of the first character of a string to a Win32.LPSTR for the
lpstrFile field.  Now this causes the
open file dialog to not display.  If I use a dummy variable defined of type
Win32.LPSTR, the dialog opens
fine, but I can't get the filename from the LPSTR type to a standard String.
I also tries assigning the LPSTR
variable the unchecked conversion of the string, and that made it stop
working as well.

Does anyone have suggestions for this type of thing?  Greatly appreciated...



   -**** Posted from RemarQ, http://www.remarq.com/?a ****-
 Search and Read Usenet Discussions in your Browser - FREE -




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

end of thread, other threads:[~1999-04-19  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-15  0:00 GetOpenFilename Boulais, Jeffrey M
1999-04-16  0:00 ` GetOpenFilename Stephen Leake
1999-04-16  0:00 ` GetOpenFilename dennison
1999-04-19  0:00 ` GetOpenFilename David Botton

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