ZwCAD crash with dcl-Grid-SetCellStyle 32 and 33

Started by Joseph, September 20, 2023, 10:51:40 PM

Previous topic - Next topic


I have a custom layer properties grid.
(dcl-Grid-SetCellStyle myGrig row col 32) ;LineWeight cell style
(dcl-Grid-SetCellStyle myGrig row col 33) ;LineType cell style

When I click on a cell with cell style 32 and 33 the ZwCAD 2022 and also 2023 crashes. (BricsCAD and AutoCAD does not crash)
It was tested with OpenDCL and


I could reproduce this in the Grid sample. Their CAdUiComboBox::SetStyleMask() function crashes. For the next build of OpenDCL I have added a preprocessor guard to skip this SetStyleMask() call on ZWCAD. The problem should be reported to ZWSOFT developers if you have contact with them.