Thread: The search for an error is very long. How do I see it in the graph?

  1. #1
    Registered User
    Join Date
    Feb 2015
    Posts
    74

    The search for an error is very long. How do I see it in the graph?

    Hello partnership dear! I compiled the project met an error. This error calls like this: G: \ Codeblocks \ Mingw \ include \ Shelpi.h | 332 | Error: 'Refiid' Has Not Been Declared |. I do not have enough to see the file to enable files. I wanted to see the chains of mutual enabling files, they were called each other to understand where the causes of errors and mistakes! Help the comrades!
    P.s / that is, I see that the graphical interface that code blocks provide me with is almost completely incapable. You need some other means to see a bunch of file links.
    Attached Images Attached Images The search for an error is very long. How do I see it in the graph?-pomylka-jpg 

  2. #2
    Registered User
    Join Date
    Dec 2017
    Posts
    1,626
    Don't try to debug the windows header files!
    Presumably you forgot to include <windows.h> or something.
    If GUID is defined, then the definitions you are missing are:
    Code:
    typedef GUID IID;
    typedef IID* REFIID;
    Also, please put in the effort to spell things correctly. "Shelpi.h" should be "Shellapi.h". "Refiid" should be "REFIID".
    A little inaccuracy saves tons of explanation. - H.H. Munro

  3. #3
    Registered User
    Join Date
    Feb 2015
    Posts
    74
    Thank you!
    DON'T TRY TO DEBUG THE Windows Header Files! --I understand.

    PRESUMABLY You Forgot to include <windows.h> or Something. Yes, probably. Thanks. I thought so. But here is the problem. In the library +300 files. I do not understand which one needs to rule. That's why I thought that you need to make a graphically to draw a scheme in the form of a tree or network, which file from which files is called.

    Also, Please Put in the Effort to Spell Things Correctly. "Shelpi.h" Should be "Shellapi.h". "REFIID" SHOLD BE "REFIID". Yes, sorry, I quickly copied the mouse and almost did not read, I did not write my fingers, strange ..

  4. #4
    Registered User
    Join Date
    Feb 2015
    Posts
    74
    Code:
    typedef GUID CLSID;
    typedef CLSID *LPCLSID;
    typedef IID *LPIID;
    typedef IID *REFIID;
    typedef CLSID *REFCLSID;
    typedef GUID FMTID;
    typedef FMTID *REFFMTID;
    typedef unsigned long error_status_t;
    #define uuid_t UUID
    typedef unsigned long PROPID;
    
    #ifndef _REFGUID_DEFINED
    #if defined (__cplusplus) && !defined (CINTERFACE)
    #define REFGUID const GUID&
    #define REFIID const IID&
    #define REFCLSID const CLSID&
    #define REFFMTID const FMTID&
    #else
    #define REFGUID const GUID* const
    #define REFIID const IID* const
    #define REFCLSID const CLSID* const
    #define REFFMTID const FMTID* const
    #endif
    #define _REFGUID_DEFINED
    #define _REFIID_DEFINED
    #define _REFCLSID_DEFINED
    #define _REFFMTID_DEFINED
    #endif
    #ifndef GUID_SECTION

    Here is part of the basetyps.h file

    By the way, I do not understand this mutual macros ... and all one if I thought, Yab did not know what to rule.
    Last edited by Дмитро; 07-25-2021 at 03:56 PM.

  5. #5
    Registered User
    Join Date
    Oct 2019
    Posts
    82
    Quote Originally Posted by Дмитро View Post

    Code:
    typedef GUID CLSID;
    typedef CLSID *LPCLSID;
    typedef IID *LPIID;
    typedef IID *REFIID;
    typedef CLSID *REFCLSID;
    typedef GUID FMTID;
    typedef FMTID *REFFMTID;
    typedef unsigned long error_status_t;
    #define uuid_t UUID
    typedef unsigned long PROPID;
    
    #ifndef _REFGUID_DEFINED
    #if defined (__cplusplus) && !defined (CINTERFACE)
    #define REFGUID const GUID&
    #define REFIID const IID&
    #define REFCLSID const CLSID&
    #define REFFMTID const FMTID&
    #else
    #define REFGUID const GUID* const
    #define REFIID const IID* const
    #define REFCLSID const CLSID* const
    #define REFFMTID const FMTID* const
    #endif
    #define _REFGUID_DEFINED
    #define _REFIID_DEFINED
    #define _REFCLSID_DEFINED
    #define _REFFMTID_DEFINED
    #endif
    #ifndef GUID_SECTION

    Here is part of the basetyps.h file

    By the way, I do not understand this mutual macros ... and all one if I thought, Yab did not know what to rule.

    Also, please put in the effort to spell things correctly. "Shelpi.h" should be "Shellapi.h". "Refiid" should be "REFIID".
    Also, if you format your code right, it is, beautiful, easy to read, and appealing the eyes.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 06-07-2015, 03:28 PM
  2. depth-first search of a graph
    By evinda in forum C Programming
    Replies: 1
    Last Post: 05-20-2013, 08:27 AM
  3. graph (depth-search) question
    By l2u in forum C++ Programming
    Replies: 1
    Last Post: 11-05-2008, 07:51 AM
  4. exhaustive graph search
    By Cpro in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2008, 11:08 AM
  5. STLport with MingW - Long Long error on project build
    By Mario F. in forum C++ Programming
    Replies: 2
    Last Post: 08-21-2006, 08:55 AM

Tags for this Thread