Thread: [Dev-C++] Re: Weird dialog corruption?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Tuukka L. <Tuu...@su...> - 2003-10-28 07:46:13
|
> I've never run into this before, and I don't know what's causing it. Are you sore that working thread don't have memory leak problem ? This chould be happend if pointer is incorrect and write data over own reserved memory. Becose application write own memory area windows think that there isin't are enything wrong and don't kill application. The second idea is infinite loop that stop message processing. |
|
From: Ed C. <em...@ed...> - 2003-10-28 19:48:14
|
Hi Tuukka, Thanks for the suggestions. I've already been very careful to look at = those possibilities, but there is no actual processing of any kind going on, = while this window is displayed - all that is happening is a message pump. -Ed -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Tuukka Lehtinen Sent: Tuesday, October 28, 2003 2:46 AM To: dev...@li... Subject: [Dev-C++] Re: Weird dialog corruption? > I've never run into this before, and I don't know what's causing it. Are you sore that working thread don't have memory leak problem ? This chould be happend if pointer is incorrect and write data over own=20 reserved memory. Becose application write own memory area windows think=20 that there isin't are enything wrong and don't kill application. The second idea is infinite loop that stop message processing. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you = like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click = here: http://sourceforge.net/donate/ _______________________________________________ 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: Ed C. <em...@ed...> - 2003-12-31 00:02:27
|
Hi everyone, In case anyone else has encountered this, I thought I'd post an update: = I finally resolved the problem by tracking down some unreleased GDI = resources (FONT definitions). I made the newbie mistake of assuming that, since = the API says it handles such things, it really does. Anyway, everyone have a happy New Year's. -Ed =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Ed = Cottrell Sent: Tuesday, October 28, 2003 2:45 PM To: dev...@li... Subject: RE: [Dev-C++] Re: Weird dialog corruption? Hi Tuukka, Thanks for the suggestions. I've already been very careful to look at = those possibilities, but there is no actual processing of any kind going on, = while this window is displayed - all that is happening is a message pump. -Ed -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Tuukka Lehtinen Sent: Tuesday, October 28, 2003 2:46 AM To: dev...@li... Subject: [Dev-C++] Re: Weird dialog corruption? > I've never run into this before, and I don't know what's causing it. Are you sore that working thread don't have memory leak problem ? This chould be happend if pointer is incorrect and write data over own=20 reserved memory. Becose application write own memory area windows think=20 that there isin't are enything wrong and don't kill application. The second idea is infinite loop that stop message processing. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you = like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click = here: http://sourceforge.net/donate/ _______________________________________________ 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: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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: Per W. <pw...@ia...> - 2003-12-31 00:57:10
|
Which API is documented to releasing GUI resources without doing it? /Per W On Tue, 30 Dec 2003, Ed Cottrell wrote: > Hi everyone, > > In case anyone else has encountered this, I thought I'd post an update: I > finally resolved the problem by tracking down some unreleased GDI resources > (FONT definitions). I made the newbie mistake of assuming that, since the > API says it handles such things, it really does. > > Anyway, everyone have a happy New Year's. > > -Ed > > > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Ed Cottrell > Sent: Tuesday, October 28, 2003 2:45 PM > To: dev...@li... > Subject: RE: [Dev-C++] Re: Weird dialog corruption? > > > Hi Tuukka, > > Thanks for the suggestions. I've already been very careful to look at those > possibilities, but there is no actual processing of any kind going on, while > this window is displayed - all that is happening is a message pump. > > -Ed > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Tuukka > Lehtinen > Sent: Tuesday, October 28, 2003 2:46 AM > To: dev...@li... > Subject: [Dev-C++] Re: Weird dialog corruption? > > > > I've never run into this before, and I don't know what's causing it. > > Are you sore that working thread don't have memory leak problem ? This > chould be happend if pointer is incorrect and write data over own > reserved memory. Becose application write own memory area windows think > that there isin't are enything wrong and don't kill application. > > The second idea is infinite loop that stop message processing. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. Do you like > what SourceForge.net is doing for the Open Source Community? Make a > contribution, and help us add new features and functionality. Click here: > http://sourceforge.net/donate/ > _______________________________________________ > 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: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/ |
|
From: Ed C. <em...@ed...> - 2003-12-31 02:55:16
|
Correction to previous post: somebody wrote (in a flawed tutorial) that = the API would avoid creating duplicate handles for a GDI resource. In this instance, I was declaring several HFONT objects with CreateFont() as dialog-scope variables, and forgetting to release them. I'm not sure = where I read that, or why I believed it, but it was back when I was first = starting C programming, and it didn't occur to me to look twice at it until today. It was not the Win32 API that said that. I misspoke in my previous post; = I should read what I write before hitting that magic send button... -Ed -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Per Westermark Sent: Tuesday, December 30, 2003 7:57 PM To: Ed Cottrell Cc: dev...@li... Subject: RE: [Dev-C++] Re: Weird dialog corruption? Which API is documented to releasing GUI resources without doing it? /Per W On Tue, 30 Dec 2003, Ed Cottrell wrote: > Hi everyone, > > In case anyone else has encountered this, I thought I'd post an = update: I > finally resolved the problem by tracking down some unreleased GDI resources > (FONT definitions). I made the newbie mistake of assuming that, since = the > API says it handles such things, it really does. > > Anyway, everyone have a happy New Year's. > > -Ed > > > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Ed Cottrell > Sent: Tuesday, October 28, 2003 2:45 PM > To: dev...@li... > Subject: RE: [Dev-C++] Re: Weird dialog corruption? > > > Hi Tuukka, > > Thanks for the suggestions. I've already been very careful to look at those > possibilities, but there is no actual processing of any kind going on, while > this window is displayed - all that is happening is a message pump. > > -Ed > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Tuukka > Lehtinen > Sent: Tuesday, October 28, 2003 2:46 AM > To: dev...@li... > Subject: [Dev-C++] Re: Weird dialog corruption? > > > > I've never run into this before, and I don't know what's causing it. > > Are you sore that working thread don't have memory leak problem ? This > chould be happend if pointer is incorrect and write data over own > reserved memory. Becose application write own memory area windows = think > that there isin't are enything wrong and don't kill application. > > The second idea is infinite loop that stop message processing. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. Do you like > what SourceForge.net is doing for the Open Source Community? Make a > contribution, and help us add new features and functionality. Click = here: > http://sourceforge.net/donate/ > _______________________________________________ > 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: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick _______________________________________________ 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: Per W. <pw...@ia...> - 2003-12-31 03:45:34
|
We all do sometimes :-) /Per W On Tue, 30 Dec 2003, Ed Cottrell wrote: > Correction to previous post: somebody wrote (in a flawed tutorial) that the > API would avoid creating duplicate handles for a GDI resource. In this > instance, I was declaring several HFONT objects with CreateFont() as > dialog-scope variables, and forgetting to release them. I'm not sure where I > read that, or why I believed it, but it was back when I was first starting C > programming, and it didn't occur to me to look twice at it until today. > > It was not the Win32 API that said that. I misspoke in my previous post; I > should read what I write before hitting that magic send button... > > -Ed > > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of Per > Westermark > Sent: Tuesday, December 30, 2003 7:57 PM > To: Ed Cottrell > Cc: dev...@li... > Subject: RE: [Dev-C++] Re: Weird dialog corruption? > > > Which API is documented to releasing GUI resources without doing it? > > /Per W > > On Tue, 30 Dec 2003, Ed Cottrell wrote: > > > Hi everyone, > > > > In case anyone else has encountered this, I thought I'd post an update: I > > finally resolved the problem by tracking down some unreleased GDI > resources > > (FONT definitions). I made the newbie mistake of assuming that, since the > > API says it handles such things, it really does. > > > > Anyway, everyone have a happy New Year's. > > > > -Ed > > > > > > > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf Of Ed > Cottrell > > Sent: Tuesday, October 28, 2003 2:45 PM > > To: dev...@li... > > Subject: RE: [Dev-C++] Re: Weird dialog corruption? > > > > > > Hi Tuukka, > > > > Thanks for the suggestions. I've already been very careful to look at > those > > possibilities, but there is no actual processing of any kind going on, > while > > this window is displayed - all that is happening is a message pump. > > > > -Ed > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf Of Tuukka > > Lehtinen > > Sent: Tuesday, October 28, 2003 2:46 AM > > To: dev...@li... > > Subject: [Dev-C++] Re: Weird dialog corruption? > > > > > > > I've never run into this before, and I don't know what's causing it. > > > > Are you sore that working thread don't have memory leak problem ? This > > chould be happend if pointer is incorrect and write data over own > > reserved memory. Becose application write own memory area windows think > > that there isin't are enything wrong and don't kill application. > > > > The second idea is infinite loop that stop message processing. > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: The SF.net Donation Program. Do you > like > > what SourceForge.net is doing for the Open Source Community? Make a > > contribution, and help us add new features and functionality. Click here: > > http://sourceforge.net/donate/ > > _______________________________________________ > > 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: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > 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 spons |
|
From: Abdelkader G. <go...@li...> - 2004-01-01 17:06:22
|
Hi there, First, happy new year to all! I'm looking for a (simple) xml package or library to parse xml streams. Any one can help ? Kind regards, |