The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: MazeGen on June 28, 2005, 06:12:53 PM

Title: Bug in m32lib ColorDialog
Post by: MazeGen on June 28, 2005, 06:12:53 PM
I just note accidentally that ColorDialog function touches EDI without preserving it.
The bug is present also in the lastest service pack.
Title: Re: Bug in m32lib ColorDialog
Post by: Jibz on June 28, 2005, 06:32:49 PM
Yes, you appear to be right :clap:.

The same seems to be the case with StrToFloat (ATOFP.ASM), PageSetupDialog (PAGEDLG.ASM) and PrintDialog (PRINTDLG.ASM).
Title: Re: Bug in m32lib ColorDialog
Post by: MazeGen on June 28, 2005, 09:41:24 PM
Hi Jibz,
are you the author of ColorDialog?
Title: Re: Bug in m32lib ColorDialog
Post by: hutch-- on June 29, 2005, 01:12:28 AM
Nope,

I am guilty of the dialogs in the library. I wrote them a long time ago and from memory in another dialect of assembler then converted them. Just let me know which ones are not properly preserving the registers and I will tweak them to work properly.