PDA

View Full Version : Problem with SHBrowseForFolder



Phil_Alexander
12-22-2004, 02:58 AM
Hi All,
Having a problem with SHBrowseForFolder in C++ DLL run from a custom action. When the custom action is run the dialog box comes up empty, no errors and no error from GetLastError just the buttons and title visible, see attached bmp.

Here is the odd bit:
The dialog box only comes up empty when run on WinXP with MDAC 2.8 loaded only. If the install is run on WinXP, WinXP SP1 or WinXP SP2 the dialog works correctly.

I use the same CA /dll many times in other installations and it works no matter the operating system, or presence of MDAC 2.8.

Any thoughts :o