From: David Botton <David@Botton.com>
To: "Boulais, Jeffrey M" <jboulais@sikorsky.com>
Subject: Re: GetOpenFilename
Date: 1999/04/19
Date: 1999-04-20T01:13:56+00:00 [thread overview]
Message-ID: <371BD4D2.F8EE9F39@Botton.com> (raw)
In-Reply-To: 4AsR2.646$dd.256779@WReNphoon3
There is an example of using the GetOpenFileName function on the Ada
Source Code Treasury:
http://www.botton.com/ada
The example is located under the OS section:
Using the Open File Common Dialog Box
http://www.botton.com/ada/os/win32-opencmdlg.html
There are many other examples there that you may find of interest. New
examples are always on the hunt, so let me know if you have any thing
interesting.
David Botton
"Boulais, Jeffrey M" wrote:
>
> 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 -
prev parent reply other threads:[~1999-04-19 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` David Botton [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox