Click here to Skip to main content
15,906,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS 2005 and GDI+ Pin
Van Court6-Jun-06 10:32
Van Court6-Jun-06 10:32 
Yeah, I found a similar example too.
But it won't compile.
So I only put in the "include <gdiplus.h>" line and comiled my "test.cpp" (based on win32 template), at least it should compile (apart from being usefull or not, in the end). And no, it won't compile with my version of VS 2005.
The first errors I get:

Error 1 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 67
Error 2 error C2440: 'initializing' : cannot convert from 'const char [37]' to 'int' e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 67
Error 3 error C2146: syntax error : missing ';' before identifier 'IImageBytes' e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 67
Error 4 error C2470: 'IImageBytes' : looks like a function definition, but there is no parameter list; skipping apparent body e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 67
Error 5 error C2059: syntax error : 'public' e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 67
Error 6 error C2146: syntax error : missing ';' before identifier 'id' e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 246
Error 7 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 246
Error 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\program files\microsoft visual studio 8\vc\platformsdk\include\gdiplusimaging.h 246


Van Courten
QuestionInterview Questions ... Please Answer! [modified] Pin
AryaSoft5-Jun-06 9:49
AryaSoft5-Jun-06 9:49 
AnswerRe: Interview Questions ... Please Answer! Pin
Chris Losinger5-Jun-06 10:14
professionalChris Losinger5-Jun-06 10:14 
GeneralRe: Interview Questions ... Please Answer! [modified] Pin
AryaSoft5-Jun-06 10:37
AryaSoft5-Jun-06 10:37 
GeneralRe: Interview Questions ... Please Answer! [modified] Pin
Zac Howland5-Jun-06 10:45
Zac Howland5-Jun-06 10:45 
AnswerRe: Interview Questions ... Please Answer! Pin
Zac Howland5-Jun-06 10:21
Zac Howland5-Jun-06 10:21 
AnswerRe: Interview Questions ... Please Answer! Pin
ThatsAlok5-Jun-06 23:11
ThatsAlok5-Jun-06 23:11 
GeneralRe: Interview Questions ... Please Answer! Pin
AryaSoft7-Jun-06 11:24
AryaSoft7-Jun-06 11:24 
Questionstatus bar Pin
LCI5-Jun-06 8:57
LCI5-Jun-06 8:57 
AnswerRe: status bar Pin
led mike5-Jun-06 9:18
led mike5-Jun-06 9:18 
AnswerRe: status bar Pin
Zac Howland5-Jun-06 9:25
Zac Howland5-Jun-06 9:25 
QuestionTrackPopupMenu() blocks message engine Pin
LeeeNN5-Jun-06 8:50
LeeeNN5-Jun-06 8:50 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Zac Howland5-Jun-06 9:14
Zac Howland5-Jun-06 9:14 
GeneralI did not make myself clear? Pin
LeeeNN5-Jun-06 9:20
LeeeNN5-Jun-06 9:20 
GeneralRe: I did not make myself clear? Pin
Zac Howland5-Jun-06 9:29
Zac Howland5-Jun-06 9:29 
GeneralRe: I did not make myself clear? Pin
LeeeNN5-Jun-06 9:43
LeeeNN5-Jun-06 9:43 
GeneralRe: I did not make myself clear? Pin
Zac Howland5-Jun-06 10:11
Zac Howland5-Jun-06 10:11 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Wes Aday5-Jun-06 9:24
professionalWes Aday5-Jun-06 9:24 
GeneralRe: TrackPopupMenu() blocks message engine Pin
LeeeNN5-Jun-06 9:29
LeeeNN5-Jun-06 9:29 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Wes Aday5-Jun-06 9:33
professionalWes Aday5-Jun-06 9:33 
AnswerRe: TrackPopupMenu() blocks message engine Pin
Stephen Hewitt5-Jun-06 14:22
Stephen Hewitt5-Jun-06 14:22 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Ryan Binns5-Jun-06 18:28
Ryan Binns5-Jun-06 18:28 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Stephen Hewitt5-Jun-06 18:35
Stephen Hewitt5-Jun-06 18:35 
GeneralRe: TrackPopupMenu() blocks message engine Pin
Ryan Binns5-Jun-06 18:42
Ryan Binns5-Jun-06 18:42 
QuestionHow do I host an ASP.NET 2.0 Page in C++ MFC SDI app? Pin
davegalligher5-Jun-06 7:47
davegalligher5-Jun-06 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.