10-01-2020, 09:39 AM
(This post was last modified: 10-01-2020, 09:41 AM by Rick Johnson.)
I've encountered a bug that crashes AI24. To reproduce the bug, add these two lines to the postStartup method in the Skeleton project:
and of course #include "hdicoreIllustrator.h" at the top.
When the code tries to execute in AI 24, it crashes with this result in Xcode (and similar in VS):
Thread 1: EXC_BAD_ACCESS (code=1, address=0x120)
I tested it with CORE 0.7.5, Illustrator 24.3.0 on both Mac and Windows, Xcode 10 and Visual Studio 2015, macOS Mojave and Windows 10. It works fine with Illustrator 2019 and earlier.
I sure hope there's a workaround.
Code:
std::string s;
bool success = HDI_CORE_ILLUSTRATOR->fileOpenPrompt("Open a file", s);
and of course #include "hdicoreIllustrator.h" at the top.
When the code tries to execute in AI 24, it crashes with this result in Xcode (and similar in VS):
Thread 1: EXC_BAD_ACCESS (code=1, address=0x120)
I tested it with CORE 0.7.5, Illustrator 24.3.0 on both Mac and Windows, Xcode 10 and Visual Studio 2015, macOS Mojave and Windows 10. It works fine with Illustrator 2019 and earlier.
I sure hope there's a workaround.