🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16771

Re: GetOpenFileName problem

#16771
From: Remy Lebeau (TeamB)
Date: Tue, 29 Apr 2003 03:55
22 lines
1810 bytes
"Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> wrote in message
news:3eadef87@newsgroups.borland.com...

> So put these in the Defines box as a macro:
> _WIN32_WINNT=0x400
> WINVER=0x400
>
> That should change it from the 0x500 that it defaults to
> and should cause the Windows header files to expand
> with the older, smaller size for the structure.

Also, just an FYI, you can alternatively use the OPENFILENAME_NT4 structure
instead of OPENFILENAME.  That way, you don't have to alter _WIN32_WINNT or
WINVER, which effect the entire API as a whole.  By using OPENFILENAME_NT4,
you'll be using the same structure that Win98 expects, as it doesn't include
any of the extra fields that OPENFILENAME has for newer OSes.  In fact,
that's why the API has OPENFILENAME_NT4 in the first place - for backwards
compatibility.


Gambit
Technical Details
Message-ID: <3eadf778$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3eade901$1@newsgroups.borland.com> <3eadef87@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5577b493e5ad6bb9
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-28 20:58:02 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3eade901$1@newsgroups.borland.com> <3eadef87@newsgroups.borland.com>
Subject: Re: GetOpenFileName problem
Date: Mon, 28 Apr 2003 20:55:51 -0700
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3eadf778$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051588472 207.175.226.26 (28 Apr 2003 20:54:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail