Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: plcnut on June 17, 2017, 01:00:54 PM

Title: Documentation Bug
Post by: plcnut on June 17, 2017, 01:00:54 PM
I had an error show up while editing the documentation in an offline DMD project. I had a single temporary location (V100) that had been automatically been added to the documentation database. I had then used the Replace function in the Ladder view to replace it with the permanent variable that I wanted to use. I had then right-clicked V100 in the documentation editor, and then clicked Clean Documentation Database. In the popup, I clicked the Refresh References. I then got a modal popup with a title of: "DmDesigner", and the text: "Encountered an improper argument". If I click either the OK button or the X I just get a ding, and it comes back. I cannot dismiss without forcing DMD to shutdown.
Title: Re: Documentation Bug
Post by: franji1 on June 17, 2017, 03:48:18 PM
Definitely a bug.  "Encountered an improper argument" is reported by the Microsoft MFC DLL when you pass something "improper"  ;D.

Hopefully, we can duplicate it and fix it easily.
Title: Re: Documentation Bug
Post by: plcnut on June 17, 2017, 04:05:14 PM
I did not have time to fiddle with duping right now, but I can try later if I can remember.  :)
Title: Re: Documentation Bug
Post by: plcnut on June 17, 2017, 10:05:08 PM
I made several attempts to dupe the error, and was not successful...
If I can get it to happen again, then I will let you know.