I just note accidentally that ColorDialog function touches EDI without preserving it.
The bug is present also in the lastest service pack.
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).
Hi Jibz,
are you the author of ColorDialog?
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.