Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7025583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:59:37+00:00 2026-05-27T23:59:37+00:00

I have a Win32 app developed in C++ Builder XE, which has worked great

  • 0

I have a Win32 app developed in C++ Builder XE, which has worked great in the WinPE 2.x/3.0 environments for the past couple of years. I have made some significant changes over the past couple of months, but now that it’s complete and I try to run it under WinPE I get the error message: The program can’t start because SHFOLDER.DLL is missing from your computer.

Since I can’t control the WinPE environment, and this dll isn’t included in WinPE, my first thought is to try and statically link the necessary components. However, it appears the functionality offered by this dll is only available from the dll.

I haven’t been able to find any useful information on this DLL, and unfortunately I don’t know which functionality I added that now requires this DLL. I am hoping that someone has experience with this, and can help guide me toward statically linking the required components, or finding a workaround so that this app no longer requires the dll. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:59:38+00:00Added an answer on May 27, 2026 at 11:59 pm

    shfolder.dll is used to get shell folder paths like the Desktop, My Documents, Windows directory, etc. It implements SHGetFolderPath() consistently along all versions of Windows due to differences of implementation between SHGetSpecialFolderPath(), SHGetFolderLocation(), SHGetKnownFolderPath(), etc.

    MSDN explains it better:

    This function is a superset of SHGetSpecialFolderPath, included with
    earlier versions of the Shell. On systems that preceded those that
    include Shell32.dll version 5.0 (Windows Millennium Edition (Windows
    Me) and Windows 2000), SHGetFolderPath was obtained through
    SHFolder.dll, distributed with Microsoft Internet Explorer 4.0 and
    later versions. SHFolder.dll always calls the current platform’s
    version of this function. If that fails, it tries to simulate the
    appropriate behavior. SHFolder.dll continues to be included for
    backward compatibility, but the function is now implemented in
    Shell32.dll.

    The DLL itself is redistributable so you can include it for WinPE. You can also just use any one of the other functions, if they work for you and you don’t need any of the special cases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a Win32 GUI app which has a loop which I would
I have a Win32 C++ app developed in VS2005. There is a try {}
I have compiled a simple win32 app successfully with bc++ (2 lines excerpt only):
Windows resources have a FileVersion and a ProductVersion. In native development environment(eg. Win32 app,
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have a win32 GUI (MFC) application which I need to port to a
This is the day of weird behavior. We have a Win32 project made with
We have some code that works and it's a Win32 app with a GUI,
I have app which retrieve applications from registry. In 32bits Windows it works correctly.
I have an older app (ca. 2005) which accepts dll plugins. The app was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.