Article View: borland.public.cppbuilder.internationalization
Article #916Re: The app.EXE file is linked to missing export SHELL32.DLL:SHBrowseForFolderW
From: Torsten Franz (TeamBeer)
Date: Tue, 29 Jan 2002 07:57
Date: Tue, 29 Jan 2002 07:57
14 lines
1527 bytes
1527 bytes
> if (OSInfo.dwPlatformId >= VER_PLATFORM_WIN32_NT)
> {
> // Unicode 'W' functions
> }
> else // Win9x 'A' functions
This check is not enough because the functions are still linked into the
executable and the loader tries to find all of them at program start. What
you can do is to have the libraries in question delay-loaded (but this
doesn't seem to work in BCB according to some messages here) or you have to
use LoadLibrary,GetProcAddress, FreeLibrary to check if the requested
function is available on the current OS.
Torsten
Technical Details
Message-ID:
<3c5659d8_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c55cf38$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10297d,56e00405bc770b35 X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2002-01-29 00:15:48 PST From: "Torsten Franz \(TeamBeer\)" <Torsten_Franz@REMOVE.agilent.com> Newsgroups: borland.public.cppbuilder.internationalization References: <3c55cf38$1_2@dnews> Subject: Re: The app.EXE file is linked to missing export SHELL32.DLL:SHBrowseForFolderW Date: Tue, 29 Jan 2002 08:57:25 +0100 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 192.25.19.11 Message-ID: <3c5659d8_2@dnews> X-Trace: dnews 1012292056 192.25.19.11 (29 Jan 2002 00:14:16 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews