Thread: RE: [Dev-C++] CStatic & memory
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jaap de W. <wo...@ne...> - 2003-07-17 10:56:50
|
1) this is a dev-cpp list not a VC list. There are dedicated newsgroups for VC. 2) The error you have is typical an error that happens when you write outside your allocated memory. Eg if you have the following code: int *pi = new int [5]; pi[-1] = 999; delete [] pi; will result in an error like the one you reported > -----Original Message----- > From: pmeadlist [mailto:pme...@cl...] > Sent: Thursday, July 17, 2003 12:17 PM > To: dev...@li... > Subject: [Dev-C++] CStatic & memory > > > Hello, > > (error!): > Debug Assertion Failed! > File: dbgheap.c > Line: 1017 > Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) > > VC++6 gives the above error as I exit the app, otherwise app works ok > without crash untill exit. > It only happens when I add a second CStatic control. I seem > to only be able > to have one CStatic control at a time. It does not seem to > matter whitch of > the two controls, but only one at a time. > > Do you want to see some code? > > TIA > Peter Mead. > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Daniel G. <sp...@ho...> - 2003-07-18 05:10:20
|
Some people know about MFC, so that's why questions are posted. >From: Zodiaq <zo...@ac...> >Reply-To: Zodiaq <zo...@ac...> >To: Dev...@li... >Subject: Re: [Dev-C++] CStatic & memory >Date: Thu, 17 Jul 2003 12:48:50 +0200 > >Hello pmeadlist and all Dev-C++ users, > >Thursday, July 17, 2003, 12:17:07 PM, pmeadlist wrote as follows: > >p> Hello, > >p> (error!): >p> Debug Assertion Failed! >p> File: dbgheap.c >p> Line: 1017 >p> Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) > >p> VC++6 gives the above error as I exit the app, otherwise app works ok >p> without crash untill exit. >p> It only happens when I add a second CStatic control. I seem to only be >able >p> to have one CStatic control at a time. It does not seem to matter whitch >of >p> the two controls, but only one at a time. > >Hmmm... did you send email to wrong mailing list, or am I missing >something here??! This list is about DevC++ and a little about MinGW >(compiler that DevC++ uses), so why did you send here question about >VC++ 6 and MFC?? MinGW uses WinAPI (or wxWindows) but not in any way >MFC (and that's what I love about it). > >-- >regards, Zodiaq > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile |
|
From: Per W. <pw...@ia...> - 2003-07-18 13:25:07
|
Ah. Some people know about cars too. How about askin questions about turbo waste gate pressures, or how the enginge power is affected by temperature and air humidity. I mean, graphics engine -> car enginge should be but a very small step. Hardly off-topic at all... /Per W On Fri, 18 Jul 2003, Daniel Glenfield wrote: > Some people know about MFC, so that's why questions are posted. > > > >From: Zodiaq <zo...@ac...> > >Reply-To: Zodiaq <zo...@ac...> > >To: Dev...@li... > >Subject: Re: [Dev-C++] CStatic & memory > >Date: Thu, 17 Jul 2003 12:48:50 +0200 > > > >Hello pmeadlist and all Dev-C++ users, > > > >Thursday, July 17, 2003, 12:17:07 PM, pmeadlist wrote as follows: > > > >p> Hello, > > > >p> (error!): > >p> Debug Assertion Failed! > >p> File: dbgheap.c > >p> Line: 1017 > >p> Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) > > > >p> VC++6 gives the above error as I exit the app, otherwise app works ok > >p> without crash untill exit. > >p> It only happens when I add a second CStatic control. I seem to only be > >able > >p> to have one CStatic control at a time. It does not seem to matter whitch > >of > >p> the two controls, but only one at a time. > > > >Hmmm... did you send email to wrong mailing list, or am I missing > >something here??! This list is about DevC++ and a little about MinGW > >(compiler that DevC++ uses), so why did you send here question about > >VC++ 6 and MFC?? MinGW uses WinAPI (or wxWindows) but not in any way > >MFC (and that's what I love about it). > > > >-- > >regards, Zodiaq > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: VM Ware > >With VMware you can run multiple operating systems on a single machine. > >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > _________________________________________________________________ > Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Daniel G. <sp...@ho...> - 2003-07-19 05:48:07
|
Er no. I tend to use the list as a general C++ one personally. But it's good to read about different bits of info about hardware, or new operating systems, etc. >From: Per Westermark <pw...@ia...> >To: Daniel Glenfield <sp...@ho...> >CC: zo...@ac..., <Dev...@li...> >Subject: Re: [Dev-C++] CStatic & memory >Date: Fri, 18 Jul 2003 15:23:42 +0200 (CEST) > >Ah. Some people know about cars too. > >How about askin questions about turbo waste gate pressures, or how the >enginge power is affected by temperature and air humidity. > >I mean, graphics engine -> car enginge should be but a very small step. >Hardly off-topic at all... > >/Per W > >On Fri, 18 Jul 2003, Daniel Glenfield wrote: > > > Some people know about MFC, so that's why questions are posted. > > > > > > >From: Zodiaq <zo...@ac...> > > >Reply-To: Zodiaq <zo...@ac...> > > >To: Dev...@li... > > >Subject: Re: [Dev-C++] CStatic & memory > > >Date: Thu, 17 Jul 2003 12:48:50 +0200 > > > > > >Hello pmeadlist and all Dev-C++ users, > > > > > >Thursday, July 17, 2003, 12:17:07 PM, pmeadlist wrote as follows: > > > > > >p> Hello, > > > > > >p> (error!): > > >p> Debug Assertion Failed! > > >p> File: dbgheap.c > > >p> Line: 1017 > > >p> Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) > > > > > >p> VC++6 gives the above error as I exit the app, otherwise app works >ok > > >p> without crash untill exit. > > >p> It only happens when I add a second CStatic control. I seem to only >be > > >able > > >p> to have one CStatic control at a time. It does not seem to matter >whitch > > >of > > >p> the two controls, but only one at a time. > > > > > >Hmmm... did you send email to wrong mailing list, or am I missing > > >something here??! This list is about DevC++ and a little about MinGW > > >(compiler that DevC++ uses), so why did you send here question about > > >VC++ 6 and MFC?? MinGW uses WinAPI (or wxWindows) but not in any way > > >MFC (and that's what I love about it). > > > > > >-- > > >regards, Zodiaq > > > > > > > > > > > >------------------------------------------------------- > > >This SF.net email is sponsored by: VM Ware > > >With VMware you can run multiple operating systems on a single machine. > > >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > >_______________________________________________ > > >Dev-cpp-users mailing list > > >Dev...@li... > > >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > _________________________________________________________________ > > Hotmail messages direct to your mobile phone >http://www.msn.co.uk/msnmobile > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband |