Hot Door CORE Forum
AISafeArtHandle question - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: General discussion (http://hotdoorcore.com/forum/forumdisplay.php?fid=3)
+--- Thread: AISafeArtHandle question (/showthread.php?tid=155)



AISafeArtHandle question - Gaxx - 11-07-2017

Hello. I've done porting my project to latest version of hotdoor for windows and there is one problem I've encountered. I use HDI_CORE_DONT_DECLARE_AI_TYPES macro in my project to use native illustrator sdk. When I try to compile AI22 project I get an error that AISafeArtHandle is undefined. Apparently this is something that is added in AI22. Normally I would search AI sdk for defenition of _t_AISafeArtOpaque and work from there. However at the time of this post there is no sdk for AI2018 on Adobe site.
http://www.adobe.com/devnet/illustrator/sdk.html
Is there a way to build my project for AI22 right now or should I just wait for sdk from Adobe?


RE: AISafeArtHandle question - Rick Johnson - 11-07-2017

I was able to compile some hybrid projects that use a lot of AIArtHandles. This is in hdicoreTypes.h:

#if HDI_CORE_COMPILE_AI22_PLUS
typedef struct _t_AISafeArtOpaque* AISafeArtHandle;
#endif

I hope this helps!
Rick


RE: AISafeArtHandle question - Gaxx - 11-08-2017

I was able to find prerelease sdk, now it builds fine