Copy link to clipboard
Copied
When I wrote a code for Tool Plugin It's gives a message like this

How I will resolve it .,Please assist me.
Regards
Kundan
Copy link to clipboard
Copied
I made up a cake recipe yesterday. When I took the cake out of the oven it looked weird and tasted horrible. Please tell me what went wrong.
Copy link to clipboard
Copied
I am adding a Tool Plugin by using this code 
It's the sample code of Annotrator I using this code inside my project .
After calling Add tool function inside StartupPlugin ,It's build successfully but when launching the
Illustrator CS6 It gives the error shown in 1st discussion .
I debug both Annotrator and myproject also.
After debugging Annotrator code I got this result
After debugging my project I got this result

This is the scenario.
so Please assist me.
Regards
Kundan
Copy link to clipboard
Copied
You need to step through Rect2Plugin::AddTool in the debugger to find where the error occurs. My guess is that sAITool is NULL because you haven't added the tool suite correctly.
Copy link to clipboard
Copied
Thanks for reply,
I am checking through debugging where I am missing Tool Suite.
Regards
Kundan
Copy link to clipboard
Copied
I had the same error message. Installing Illustrator CS6 16.0.3 update helped.
Copy link to clipboard
Copied
You need to initialize the sAITool Suite properly, This code may help you
sSPBasic->AcquireSuite(kAIToolSuite,kAIToolSuiteVersion,(void const**)&sAITool);
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more