adarsh_bhat
asked on
Using shBrowseForFolder
Hi friends
I am using the shBrowseForFolder function in my MFC app to allow the user browse and select a folder. I want to use the BIF_NEWDIALOGSTYLE flag for my browser but when I compile my program it says that BIF_NEWDIALOGSTYLE is undeclared. The documentation says that BIF_NEWDIALOGSTYLE requires shell32.dll v 5.0 or later. I have win 2000 professional (with IE 5.0) installed on my PC and hence my shell32.dll should meet this requirement.
What else could be the problem ?
Adarsh
I am using the shBrowseForFolder function in my MFC app to allow the user browse and select a folder. I want to use the BIF_NEWDIALOGSTYLE flag for my browser but when I compile my program it says that BIF_NEWDIALOGSTYLE is undeclared. The documentation says that BIF_NEWDIALOGSTYLE requires shell32.dll v 5.0 or later. I have win 2000 professional (with IE 5.0) installed on my PC and hence my shell32.dll should meet this requirement.
What else could be the problem ?
Adarsh
or if you have got the latest sdk make sure your paths are in the right order - eg sdk paths first, msdev paths second
ShaunWilde,
Good point. I'd hate to admit how many times that's bitten me....
Good point. I'd hate to admit how many times that's bitten me....
> I'd hate to admit how many times that's bitten me
been bitten too :)
been bitten too :)
ASKER
I do have the MSDN subscription with me but I am unable to find out which CD is the latest SDK (there are about 350 CDs) There are a few CDs titled 'Platform SDK'. Is this the same thing ? Is this SDK installed as a separate application or does it just update my existing visual studio installation ? Please help
Adarsh
Adarsh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I do have the MSDN subscription with me but I am unable to find out which CD is the latest SDK (there are about 350 CDs) There are a few CDs titled 'Platform SDK'. Is this the same thing ? Is this SDK installed as a separate application or does it just update my existing visual studio installation ? Please help
Adarsh
Adarsh
ASKER
Sorry , I dont know how that comment got repeated
Thanks Jhance, I'll manage from here
Thanks Jhance, I'll manage from here
Yes, you said that once already. Please see my last comment....
Go to the MSDN web site and download the current SDK:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
It's really huge so if you have an MSDN subscription, getting it off of CD would be quicker.