473,325 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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 <kgdsfjrehgkjrehglierdjhglkrdhgkjfdhgdehjkrefhkj >
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?
Nov 17 '05 #1
3 920
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...
Nov 17 '05 #2

Lloyd Dupont a écrit :
well, from weird to weirder.
I found an option to keep the precompiled file and it looks like the header
is correctly included.

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

Nov 17 '05 #3
oh...
tricky one....

thanks!

--
There are 10 kinds of people in this world. Those who understand binary and
those who don't.
<ad******@club-internet.fr> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...

Lloyd Dupont a écrit :
well, from weird to weirder.
I found an option to keep the precompiled file and it looks like the
header
is correctly included.

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
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: A. L. | last post by:
Like the title says, my installation of VC# 2005 Beta 2 doesn't seem to have a Setup kind of project available. Actually, except for the Screensaver Starter Kit, it has only four types: Windows...
4
by: Exits Funnel | last post by:
Hello, I'm slightly confused about when to use parens around #included files and when to use angle brackets. I understand (I think) that the difference is that the compiler will search in its...
11
by: wenmang | last post by:
Hi, all: What will happen if header files with the exact same names but with different contents and declared/defined without include guard reside in the include path for the compiler? Are these...
3
by: BobAtUnisys | last post by:
After uninstalling Visual Studio 2005 Beta2, installing Visual Studio 2005 RC1, uninstalling RC1 and reinstalling Beta2 I am getting the following error: When I try and create a class I get a...
16
by: John Gabriel | last post by:
The *back* and *forward* butttons do not work. Anyone noticed this? I know this is a beta edition but even for a beta edition, it's hard to believe Microsoft performed any real quality...
2
by: Atlantis11500 | last post by:
Hi guys, as I have downloaded the latest beta2 version of VC 2005. I found that the IDE is not as powerful as vc#. My question is whether vc has lost the important position?
10
by: Dean Slindee | last post by:
Does anybody know to whom I can send this letter so that it hits home before Visual Studio 2005 goes production? Dear Microsoft Visual Studio 2005 developers, This is a request for you to...
1
by: Mattias | last post by:
Hi I have The new Visual Studio 2005 Professional installed, I have created a vb project as windows application and receive a perculiar error when trying to open the Form designer. "Microsoft...
6
by: olrt | last post by:
Hello, I have a computer with VS.NET 2005 Beta2 (Team Edition) installed on it. I would like to uninstall .NET Framework 2.0 Beta and install .NET Framework 2.0 release. Is it risky ? Thanks...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.