Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with the LPSHELLFOLDER

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
Has anyone had problems with the LPSHELLFOLDER??

I checked out the VirtualListView example in BCB6\Examples and it had this nice working directory thingie... So out of sheer curiosity I copied and pasted the code into a project I had and now I'm getting a bunch of errors because of the LPSHELLFOLDER. The errors I'm getting seem to be because LPSHELLFOLDER wasn't declared previously. so i look through every include in that stupid program and didn't find jack that i didn't have so Im kind of stuck. Anyone know what to include? I think I can post the errors if you want them

Cyprus
 
You need the following line at the top of your cpp file:

#define NO_WIN32_LEAN_AND_MEAN

cf. vlistview.cpp
ref. shlobj.hpp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top