Menu

shobjidl.h: No such directory

suzie97
2007-06-25
2012-09-26
  • suzie97

    suzie97 - 2007-06-25

    Hi,
    I am trying to write/compile a program using
    dev-c++ release 5 beta 9 (4.9.9.2) to run
    under Windows XP. I am actually trying to compile
    it under Windows Vista.

    The problem I have is trying to include shobjidl.h
    (so than I can use member function ParseDisplayName of
    an LPSHELLFOLDER variable):

    include <shobjidl.h>

    I get this error message upon compilation:
    shobjidl.h: No such directory

    There was another function I wanted to use which requires
    shobjidl.h but I gave up on it (can't remember what it was).
    Can anyone help me, how can I include this required
    header file?

    Thank you.

     
    • rueD

      rueD - 2007-06-29

      Hi .. try to replace the <> with "" .

      include "shobjidl.h"

      also try this

      include <shobjidl>

      but if both don´t work . try to google it.

       
    • lz_li

      lz_li - 2007-09-27

      Hi,suzie97,

      if shobjidl.h is a system head file, you should set the path in the project settings to tell the compiler where to find it.

      otherwise, you should include the absolute path or relative path ,e.g, #include "../a/b/shobjidl.h"

       

Log in to post a comment.