Multiple declaration errors when including shlobj.h.
I am getting multiple declaration errors for FVSHOWINFO, FOLDERSETTINGS, DESKBANDINFO, SHELLFLAGSTATE, and I dont' know why. How do I resolve this problem?
This is caused by including shlobj.h in your project. The multiple declarations are coming from "shlobj.hpp", which is included with "vcl.h".
Click "Project | Options | Directories/Conditionals" and add "NO_WIN32_LEAN_AND_MEAN" to the conditional defines section, separating it from other defines with a semicolon (;).