Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How I will resolve this Tool Plugin Issue..............?

Engaged ,
May 10, 2016 May 10, 2016

When I wrote a code for Tool Plugin It's gives a message like this

error.png

How I will resolve it .,Please assist me.

Regards

Kundan

TOPICS
SDK
694
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Advocate ,
May 10, 2016 May 10, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 10, 2016 May 10, 2016

I am adding a Tool Plugin by using  this code image1.png

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

image2.png

After debugging my project I got this result

image3.png

This is the scenario.

so Please assist me.

Regards

Kundan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 11, 2016 May 11, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 11, 2016 May 11, 2016

Thanks for reply,

I am checking through debugging where I am  missing Tool Suite.

Regards

Kundan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2016 Aug 10, 2016

I had the same error message. Installing Illustrator CS6 16.0.3 update helped.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 19, 2016 Aug 19, 2016
LATEST

You need to initialize the sAITool Suite properly, This code may help you

sSPBasic->AcquireSuite(kAIToolSuite,kAIToolSuiteVersion,(void const**)&sAITool);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines