C++ Builder: Undefined structure '_STRRET'
Question / Problem
When I try to compile my C++ Builder project, I get the error message "Undefined structure '_STRRET'" in the Shell_Win32.hpp. How can this be solved?
Answer / Solution
Due to some changes to the Shell API header files, you have to add the conditional define NO_WIN32_LEAN_AND_MEAN to the Conditional Defines section of project options of all your projects. Otherwise the header files containing the Windows Shell related stuff won't be included completely and your project won't compile.
IMPORTANT: Please also make sure to add the path to the header files of ShellBrowser to the Include Path of each of your projects!