CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2004
    Posts
    204

    No such file ERROR

    When building my project, I get the following error:
    Code:
    fatal error C1083: Cannot open include file: 'ntddcdrm.h': No such file or directory
    I included it like this:
    Code:
    #include "ntddcdrm.h"
    What am I doing wrong?

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: No such file ERROR

    The compiler cannot find the file. Make sure that the directory that has this header file is in your include path.

    Viggy

  3. #3
    Join Date
    Apr 2004
    Posts
    204

    Re: No such file ERROR

    OK thanks.

    I just assumed Microsoft shoved all these files in a directory where they would be found.

    In checking for the location of this file on my computer, I find I don't even have it.

    Why wouldn't it have been included when I installed VC++?

    Can I somehow obtain this file?

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: No such file ERROR

    What is that header file? It doesn't look like one of the standard SDK headers (that I'm aware of).

    Did you install the proper SDK for what you're doing?

    Viggy

  5. #5
    Join Date
    Apr 2004
    Posts
    204

    Re: No such file ERROR

    I am attempting to copy audio tracks from a CD,
    and was using this as a starting point.

    http://support.microsoft.com/default...b;EN-US;138434
    Last edited by mmscg; April 10th, 2007 at 09:00 PM.

  6. #6
    Join Date
    Jul 2001
    Location
    Otaki, New Zealand
    Posts
    303

    Re: No such file ERROR

    As it says in the KB article, the include file you require can be found in the DDK (Driver Development Kit) in the following location \Ddk\Src\Storage\Inc

    So you need to get a copy of the DDK from Microsoft and install it.

    Regards
    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured