473,505 Members | 15,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

gdiplus.h

I am using VS.NET 2003 to created a mixed mode exe. I am
not using any gdi functions and it compiles fine.

If I just include gdiplus.h the linker forces me to link
in gdiplus.lib although I am not using any gdi
functionality. Could somebody please explain this to
me ?? I thought the linker would se that no gdi calls
were made and just skip this part....

Nov 16 '05 #1
1 2936

--------------------
From: =?iso-8859-1?Q?Espen_L=F8ke?= <es*********@siemens.no>
Sender: =?iso-8859-1?Q?Espen_L=F8ke?= <es*********@siemens.no>
Subject: gdiplus.h

I am using VS.NET 2003 to created a mixed mode exe. I am
not using any gdi functions and it compiles fine.

If I just include gdiplus.h the linker forces me to link
in gdiplus.lib although I am not using any gdi
functionality. Could somebody please explain this to
me ?? I thought the linker would se that no gdi calls
were made and just skip this part....


To me this looks like a bug, I'm following up with the linker team.

Pranish Kumar, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Nov 16 '05 #2

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

Similar topics

2
2016
by: Dale | last post by:
For the MS04-028 Security Bulletin (GDI+) it refers Visual Studio 2003 users to KB830348, which is the Visual Studio .NET 2003 GDIPLUS.DLL Security Update. Does this apply to Windows XP with...
0
1360
by: SirPurple | last post by:
With the various GDIPLUS.DLL files floating about my system, I wanted to update them all using the relevant security updates available. The update for VS.NET 2003 failed miserably while the...
2
4110
by: AD | last post by:
Hey, I have a problem with getting a bitmap (HBITMAP) from Device Context using Graphics object. Let's say I draw something : CDC ndc; HBITMAP hb; ndc.CreateCompatibleDC(dc);
3
3198
by: Vamsi | last post by:
Hello, I am working in VC++ environment.while using gdi+, i want to use a public member variable of Bitmap. which needs to be initialized at the time of creation. and i m using this gdi+ in a...
0
1371
by: SG | last post by:
Hi, does anybody know how to access forgotten gdiplus functions in C# I have tried it with the GDIplus Flat API. Unfortunately it doesent work. public static extern int ...
5
3704
by: Bonj | last post by:
How can GDI+ be used from C++?? I tried the following methods, but all failed with about 100 different errors relating to stuff that was not in any file I created. The file <gdiplus.h> only exists...
2
3452
by: Alvin Bruney - ASP.NET MVP | last post by:
I'm using C# and GDI+ to create dynamic images and show them on the web. I'm loading the main image which is a jpeg, then I'm drawing some text and shapes on that base image using Graphics class...
7
6612
by: =?Utf-8?B?UmFtZW5kcmEgS290aGFya2Fy?= | last post by:
Hello, I want to know how to statically link GDIPlus.dll with VC++ application that should be able to run on W2k machine without the existence of GDIPlus.dll on the target machine. Currently,...
4
13935
Airslash
by: Airslash | last post by:
Hello, been a while since I visited bytes.com, but I have an issue with GDIplus... I'm currently developing on/for a Windows Server 2003 system and I'm running a Benchmark to find the fastest...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.