473,434 Members | 1,332 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,434 software developers and data experts.

erro in using gdi+

I use vc6.0,something wrong when i use GDI+
:
in StdAfx.h
I add the following code betwen
#endif//AFX_NO_AFXCMN_SUPPORT
and
//{{AFX+_INSERT_LOCATION}}

code as following:
#include "Gdiplus.h"
using namespace Gdiplus;
#pragma comment (Lib,"GdiPlus.LIb")
but when I compile,message shows :
Compling.........
StdAfx.cpp
gdiplusinit.h(39):erro C2065:"ULONG_PTR":undeclared identifier.
.................................................. ............

how can i solve the problem?

thanks.
Nov 17 '05 #1
0 1143

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

Similar topics

1
by: johannblake | last post by:
I want to create a scrollable window using GDI+ where the origin is located in the bottom-left corner rather than the default top-left corner. Currently I have found several examples on how to...
5
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...
6
by: Carlos | last post by:
I need to have a picture loaded in a asp.net C# page and draw a line on top of it, using GDI.. any idea how to do it or sample page ? Thanks
3
by: Nathan Sokalski | last post by:
I am using GDI+ to generate buttons in my application. Because I want the left and right edges of the buttons to be a certain number of pixels from the start and end of the text, I need to know (or...
7
by: Peter Row | last post by:
Hi, I've started work on my own control some parts of which use standard controls, others I need to draw on my controls surface to get the display output I require, however.... I seem to be...
2
by: rejidasan | last post by:
Hello All, I have a MFC Dialog based application. I am not using GDI or GDI+ libraries. I need to load PNG and JPEG images in this Dialog Based application. Can you suggest me how to to do...
1
by: Bishman | last post by:
Hi, I have been trying to get text to scroll smoothly accross a windows form using GDI+ and a timer. Changing the position of the text by a configurable amount and calling invalidate to force a...
0
by: Rotsey | last post by:
Hi, I have a jpg that i am using asa template using GDI to draw on. I am using paint to look at the jpg and using pixels to determine where I want to draw to with GDI. I changed the ...
2
by: user | last post by:
Hi all... i am trying to print an image using GDI - but the only thing i get is a black rectangle. Does anybody know what is wrong, or how else to get the bitmap on the printer (GDI+ is not...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.