include header problem (I'm using VS.NET 2005 beta2)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Dupont

    #1

    include header problem (I'm using VS.NET 2005 beta2)

    I'm trying to use GDI+

    fisrt it tooks me 1/2 an hour to realize that
    #include <GdiPlus.h>
    was failing SILENTLY
    as a matter of fact
    #include <kgdsfjrehgkjre hglierdjhglkrdh gkjfdhgdehjkref hkj>
    fails silently as well!

    I'm using a default ManagedC++ template what kind of stupid default option
    remove the warning for header not found, I wonder?

    Anyway, once I figured this out, I try to add the correct include path:
    Project => Properties => Configuration Properties => C/C++ => General =>
    Additional Include Directories
    where I set the path
    "C:\Program Files\Microsoft Platform SDK\Include"

    But the include keeps failing!
    (I know it as my statement
    using namespace GdiPlus
    on line 10 keeps failing)

    Any tip on how to include this header successfully?


  • Lloyd Dupont

    #2
    Re: include header problem (I'm using VS.NET 2005 beta2)

    well, from weird to weirder.
    I found an option to keep the precompiled file and it looks like the header
    is correctly included.
    however for some unfathomable reason using namespace Gdiplus; fails...


    Comment

    • adebaene@club-internet.fr

      #3
      Re: include header problem (I'm using VS.NET 2005 beta2)


      Lloyd Dupont a écrit :
      [color=blue]
      > well, from weird to weirder.
      > I found an option to keep the precompiled file and it looks like the header
      > is correctly included.[/color]
      If you are using a precompiled header file (usually stdafx.h", anything
      that is *before* the #include <stdafx.h> (other #include statements or
      whatever) is ignored by the compiler

      Arnaud
      MVP - VC

      Comment

      • Lloyd Dupont

        #4
        Re: include header problem (I'm using VS.NET 2005 beta2)

        oh...
        tricky one....

        thanks!

        --
        There are 10 kinds of people in this world. Those who understand binary and
        those who don't.
        <adebaene@clu b-internet.fr> wrote in message
        news:1123579529 .593121.120770@ f14g2000cwb.goo glegroups.com.. .

        Lloyd Dupont a écrit :
        [color=blue]
        > well, from weird to weirder.
        > I found an option to keep the precompiled file and it looks like the
        > header
        > is correctly included.[/color]
        If you are using a precompiled header file (usually stdafx.h", anything
        that is *before* the #include <stdafx.h> (other #include statements or
        whatever) is ignored by the compiler

        Arnaud
        MVP - VC


        Comment

        Working...