05-21-2025, 08:37 AM
I can also reproduce the issue with HWHS868.00, and cannot see any issue with the ZS source code.
Interestingly, Color = LDDialogs.Colour() works as expected using the same winform Dialog. The difference is that the LD version is run async using STA (single treaded appartment). I can't remember why I did it this way, but does seem to make this difference.
PS,
ZS - sorry to hear about your PC - I use GIT for ALL my software projects (public and private), apart from a secure backup it is very useful being able to check or revert changes made. I guess the best approach is to decompile your dll to source - its horrible losing work done - we have all had it happen and then learn from it. I backup nightly entire PC to USB drive (and then check it worked with no errors) and take regular disk image dumps to a different USB drive extracted from an old laptop. I do this from learned experience, not from paranoia.
Interestingly, Color = LDDialogs.Colour() works as expected using the same winform Dialog. The difference is that the LD version is run async using STA (single treaded appartment). I can't remember why I did it this way, but does seem to make this difference.
PS,
ZS - sorry to hear about your PC - I use GIT for ALL my software projects (public and private), apart from a secure backup it is very useful being able to check or revert changes made. I guess the best approach is to decompile your dll to source - its horrible losing work done - we have all had it happen and then learn from it. I backup nightly entire PC to USB drive (and then check it worked with no errors) and take regular disk image dumps to a different USB drive extracted from an old laptop. I do this from learned experience, not from paranoia.