Click here to Skip to main content
15,922,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can anybody say why no data gets shown? Pin
PJ Arends12-Jul-03 18:03
professionalPJ Arends12-Jul-03 18:03 
GeneralRe: Can anybody say why no data gets shown? Pin
WREY12-Jul-03 18:20
WREY12-Jul-03 18:20 
GeneralRe: Can anybody say why no data gets shown? Pin
Michael Dunn12-Jul-03 18:37
sitebuilderMichael Dunn12-Jul-03 18:37 
GeneralRe: Can anybody say why no data gets shown? Pin
Mike Dimmick13-Jul-03 1:44
Mike Dimmick13-Jul-03 1:44 
GeneralRe: Can anybody say why no data gets shown? Pin
WREY13-Jul-03 4:28
WREY13-Jul-03 4:28 
GeneralProblem by getting new object in GDI+, Help me. Pin
Behzad Ebrahimi12-Jul-03 9:08
Behzad Ebrahimi12-Jul-03 9:08 
GeneralRe: Problem by getting new object in GDI+, Help me. Pin
Neville Franks12-Jul-03 13:02
Neville Franks12-Jul-03 13:02 
GeneralRe: Problem by getting new object in GDI+, Help me. Pin
PJ Arends12-Jul-03 16:30
professionalPJ Arends12-Jul-03 16:30 
Ah, yes. That error again.

That error occurs in debug builds when you have the code
#ifdef _DEBUG
#define new DEBUG_NEW    <<-- here's the problem, GDI+ does not like this
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


A fix is to use the global new when allocating GDI+ objects.
Pen *myPen1 = ::new Pen(Color(255, 255, 0, 0));








Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
Generalpush_back, push_front Pin
DaveE9th12-Jul-03 8:00
DaveE9th12-Jul-03 8:00 
GeneralRe: push_back, push_front Pin
Mike Dimmick12-Jul-03 8:17
Mike Dimmick12-Jul-03 8:17 
GeneralRe: push_back, push_front Pin
DaveE9th12-Jul-03 8:32
DaveE9th12-Jul-03 8:32 
GeneralRe: push_back, push_front Pin
Mike Dimmick12-Jul-03 8:54
Mike Dimmick12-Jul-03 8:54 
GeneralRe: push_back, push_front Pin
DaveE9th12-Jul-03 17:40
DaveE9th12-Jul-03 17:40 
GeneralOffsets and stuff Pin
Anonymous12-Jul-03 7:48
Anonymous12-Jul-03 7:48 
GeneralRe: Offsets and stuff Pin
Mike Dimmick12-Jul-03 8:27
Mike Dimmick12-Jul-03 8:27 
GeneralRe: Offsets and stuff Pin
Toni7813-Jul-03 11:08
Toni7813-Jul-03 11:08 
QuestionCan anyone help me?? Pin
Snyp12-Jul-03 6:47
Snyp12-Jul-03 6:47 
AnswerRe: Can anyone help me?? Pin
Christian Graus12-Jul-03 18:03
protectorChristian Graus12-Jul-03 18:03 
Generaltext drawing in spiral form Pin
Member 47204512-Jul-03 5:47
Member 47204512-Jul-03 5:47 
GeneralRe: text drawing in spiral form Pin
adamUK12-Jul-03 10:54
adamUK12-Jul-03 10:54 
Generalstopping and resuming an application from mfc Pin
haritadala12-Jul-03 5:39
haritadala12-Jul-03 5:39 
GeneralProblem with LoadLibrary Pin
AnTri12-Jul-03 2:52
AnTri12-Jul-03 2:52 
GeneralRe: Problem with LoadLibrary Pin
Ryan Binns12-Jul-03 3:24
Ryan Binns12-Jul-03 3:24 
GeneralRe: Problem with LoadLibrary Pin
AnTri12-Jul-03 5:14
AnTri12-Jul-03 5:14 
GeneralRe: Problem with LoadLibrary Pin
Ryan Binns12-Jul-03 18:33
Ryan Binns12-Jul-03 18:33 

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.