07-08-2018, 06:09 PM
(This post was last modified: 07-09-2018, 04:14 AM by Rick Johnson.)
Stepper widgets in floating dialogs work perfectly under Mac OS (10.13) for CC 2018, but under Windows 10 they appear to somehow lead to an exception where Illustrator thinks its current document is NULL. It's a pretty simple project with no platform-specific or SDK code.
The stepper calls one of two callbacks that adjust a value in increments of 1 (or 10 if shift key down), which in turn calls a function that redraws an art object to the revised parameters. Here Illustrator throws an exception when HDI_CORE_ILLUSTRATOR->CurrentDocument() returns NULL. When pressing cursor keys in text fields, this same series of callbacks and functions work normally on both platforms.
Is there anything I can do to help narrow down what's really happening? Thanks.
The stepper calls one of two callbacks that adjust a value in increments of 1 (or 10 if shift key down), which in turn calls a function that redraws an art object to the revised parameters. Here Illustrator throws an exception when HDI_CORE_ILLUSTRATOR->CurrentDocument() returns NULL. When pressing cursor keys in text fields, this same series of callbacks and functions work normally on both platforms.
Is there anything I can do to help narrow down what's really happening? Thanks.