Article View: borland.public.cppbuilder.nativeapi
Article #16682Re: GetOpenFileName problem
From: Ed Mulroy [TeamB]
Date: Tue, 29 Apr 2003 12:33
Date: Tue, 29 Apr 2003 12:33
14 lines
1655 bytes
1655 bytes
I had been calling GetVersionEx to see if it's in the NT line and version 5 or better, using sizeof(name) or 76 for the size depending upon the result. What you show is a nice, clean way to do it. Good trick - that's a keeper! . Ed > Remy Lebeau wrote in message > news:3eadf778$1@newsgroups.borland.com... > > 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. ...
Technical Details
Message-ID:
<3eae712a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3eade901$1@newsgroups.borland.com> <3eadef87@newsgroups.borland.com> <3eadf778$1@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-29 05:52:28 PST From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3eade901$1@newsgroups.borland.com> <3eadef87@newsgroups.borland.com> <3eadf778$1@newsgroups.borland.com> Subject: Re: GetOpenFileName problem Date: Tue, 29 Apr 2003 08:33:31 -0400 Lines: 16 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: 206.228.162.56 Message-ID: <3eae712a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051619626 206.228.162.56 (29 Apr 2003 05:33:46 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail