Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Pin
Avi Berger22-Feb-10 19:51
Avi Berger22-Feb-10 19:51 
GeneralRe: C++ Pin
Peter_in_278022-Feb-10 20:52
professionalPeter_in_278022-Feb-10 20:52 
GeneralRe: C++ Pin
KingsGambit22-Feb-10 21:03
KingsGambit22-Feb-10 21:03 
GeneralRe: C++ Pin
Peter Weyzen23-Feb-10 10:25
Peter Weyzen23-Feb-10 10:25 
GeneralRe: C++ Pin
Avi Berger23-Feb-10 6:34
Avi Berger23-Feb-10 6:34 
QuestionAbout array of BSTR Pin
eight22-Feb-10 16:48
eight22-Feb-10 16:48 
AnswerRe: About array of BSTR Pin
«_Superman_»22-Feb-10 17:01
professional«_Superman_»22-Feb-10 17:01 
QuestionGDI+ Problem! Pin
mostafa_pasha22-Feb-10 11:44
mostafa_pasha22-Feb-10 11:44 
I use GDI+ in my project under windows Vista/7 without any problems.
But when i try to compile the code or run the code under windows XP, the program crashes/ the compiler throw an exception.

I found that pBmp1 is NULL under the windows XP:

HBITMAP hbmp1 = ::LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_BITMAP1));
ASSERT(hbmp1!=NULL);
Bitmap* pBmp1 = Bitmap::FromHBITMAP(hbmp1,NULL);
ASSERT(pBmp1->GetLastStatus() == Ok);

How can i Correct it?

Best,
MJM
AnswerRe: GDI+ Problem! Pin
Richard Andrew x6422-Feb-10 13:55
professionalRichard Andrew x6422-Feb-10 13:55 
GeneralRe: GDI+ Problem! Pin
LunaticFringe22-Feb-10 13:56
LunaticFringe22-Feb-10 13:56 
GeneralRe: GDI+ Problem! Pin
Richard Andrew x6422-Feb-10 13:58
professionalRichard Andrew x6422-Feb-10 13:58 
AnswerRe: GDI+ Problem! Pin
LunaticFringe22-Feb-10 13:55
LunaticFringe22-Feb-10 13:55 
GeneralRe: GDI+ Problem! Pin
mostafa_pasha22-Feb-10 18:51
mostafa_pasha22-Feb-10 18:51 
GeneralRe: GDI+ Problem! Pin
LunaticFringe22-Feb-10 19:49
LunaticFringe22-Feb-10 19:49 
AnswerRe: GDI+ Problem! Pin
KingsGambit22-Feb-10 20:57
KingsGambit22-Feb-10 20:57 
GeneralRe: GDI+ Problem! Pin
mostafa_pasha22-Feb-10 21:28
mostafa_pasha22-Feb-10 21:28 
GeneralRe: GDI+ Problem! Pin
Richard MacCutchan22-Feb-10 22:09
mveRichard MacCutchan22-Feb-10 22:09 
GeneralRe: GDI+ Problem! Pin
mostafa_pasha22-Feb-10 23:04
mostafa_pasha22-Feb-10 23:04 
GeneralRe: GDI+ Problem! Pin
Richard MacCutchan23-Feb-10 0:07
mveRichard MacCutchan23-Feb-10 0:07 
GeneralRe: GDI+ Problem! Pin
KingsGambit22-Feb-10 22:18
KingsGambit22-Feb-10 22:18 
QuestionVC++ 2005, Creating checkboxes from an array Pin
Steven Foxton22-Feb-10 11:37
Steven Foxton22-Feb-10 11:37 
AnswerRe: VC++ 2005, Creating checkboxes from an array Pin
LunaticFringe22-Feb-10 13:50
LunaticFringe22-Feb-10 13:50 
AnswerRe: VC++ 2005, Creating checkboxes from an array Pin
Richard Andrew x6422-Feb-10 13:53
professionalRichard Andrew x6422-Feb-10 13:53 
GeneralRe: VC++ 2005, Creating checkboxes from an array Pin
Steven Foxton22-Feb-10 22:55
Steven Foxton22-Feb-10 22:55 
QuestionRe: VC++ 2005, Creating checkboxes from an array Pin
David Crow23-Feb-10 3:20
David Crow23-Feb-10 3:20 

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.