News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Bug in m32lib ColorDialog

Started by MazeGen, June 28, 2005, 06:12:53 PM

Previous topic - Next topic

MazeGen

I just note accidentally that ColorDialog function touches EDI without preserving it.
The bug is present also in the lastest service pack.

Jibz

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).

MazeGen

Hi Jibz,
are you the author of ColorDialog?

hutch--

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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php