Hello! I am writing a simple guide and I ran into such a library. The question is: is it better to use it for writing a conductor? And for modern windows, is it relevant or did something new come up?

Closed due to the fact that it is necessary to reformulate the question so that the participants can give an objectively correct answer Vladimir Martyanov , pavel , αλεχολυτ , aleksandr barakin , HamSter Oct 25 '16 at 18:23 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    This is not a library, but a header file. A lot of things are described in it, therefore it is impossible to say “better” and “relevant”. - Vladimir Martyanov
  • I mean, in 2016 to create a simple explorer this header file to use? - helldrg
  • 2
    use if necessary. If not, do not use. Suggest to guess what kind of technology you have there and what exactly from this hider you want? It will not work ... - Vladimir Martyanov
  • 2
    @helldrg The full path to the directory is formed from the paths to its parent directories. I do not see the need for separate API functions here. - Vladimir Martyanov
  • one
    I think the name shlobj.h itself can easily be decoded as shell objects. 1. You can read about them on MSDN. 2. Looking at the contents of shlobj.h it becomes clear whether these objects are needed or not. And as a conclusion: the name of the library speaks for itself, it is needed for closer integration into the windows shell, or to call / inherit shell elements (menus, plugins, control panel calls, basket management, desktop, menus and other shell elements). The fact that such an answer is needed for the SO base - I do not think. - nick_n_a

1 answer 1

The fact is that the assignment is at the institute =) I figured out how to use the tree view element, how to winpai to go through the files in the directory and write them to the tree, but did not understand how to record the item at level 3, i.e. I open the C: \ element there I click on the windows element, but I cannot find out what is in this folder because there is no way, only the name. The fact is that the assignment is at the institute =) I figured out how to use the tree view element, how to winpai to go through the files in the directory and write them to the tree, but did not understand how to record the item at level 3, i.e. I open the C: \ element there I click on the windows element, but I cannot find out what is in this folder because there is no way, only the name.

Shlobj.h is not needed here, use the functions findfirst, findnext