🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #308496

Re: FileOpenDialog i nieznany błąd

#308496
From: bartekltg
Date: Wed, 27 Apr 2016 19:03
32 lines
1939 bytes
On 27.04.2016 20:43, slawek wrote:
> Mam sobie takie program w C bez plusów. A w nim, czyste API Win32, jest
> GetSaveFileName.

> I teraz
> zagadka: dlaczego GetSaveFileName wyświetla zamiast siebie taki
> paskudkę-dialog z tekstem "nieznany błąd" (po polsku) w systemie MS
> Windows 98SE ?

https://msdn.microsoft.com/pl-pl/library/windows/desktop/ms646928(v=vs.85).aspx

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]

Pewne wyjaśnienie jest tu:
http://edn.embarcadero.com/br/article/22880
If you are compiling for Windows 2000, the OPENFILENAME structure has an 
extra 3 members that Windows 98 does not expect. Look in "commdlg.h" for 
the actual code.

> Podkreślam - ten sam program, te samo exe. Wcześniej
> robiło dialog jak trzeba.

Co to znaczy wcześniej? Na nowszym windowsie?
No to nic dziwnego, bo tam ta funkcja już zaimplementowana.
Czy działał na 98 i przestał?


pzdr
bartekltg
Technical Details
Message-ID: <nfr2e5$d73$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <5721086f$0$689$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: bartekltg <bartekltg@gmail.com>
Newsgroups: pl.comp.lang.c
Subject: Re: FileOpenDialog i nieznany błąd
Date: Wed, 27 Apr 2016 21:03:33 +0200
Organization: ATMAN - ATM S.A.
Lines: 33
Message-ID: <nfr2e5$d73$1@node1.news.atman.pl>
References: <5721086f$0$689$65785112@news.neostrada.pl>
NNTP-Posting-Host: 89-73-81-145.dynamic.chello.pl
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1461783813 13539 89.73.81.145 (27 Apr 2016 19:03:33 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Wed, 27 Apr 2016 19:03:33 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To: <5721086f$0$689$65785112@news.neostrada.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit