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

How I will create the zxp file of aip file generating after build the solution..............

Engaged ,
Mar 29, 2016 Mar 29, 2016

How I will create the zxp file of aip file generating after build the solution (program's code )

I build sample file of CC Sdk 2015 (given with sdk ) for creating aip file, then I want to create zxp file of this generate aip file

How I will do this, Please assist me

Thanks & Regards

Kundan

TOPICS
SDK
5.3K
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

correct answers 1 Correct answer

Advocate , Apr 15, 2016 Apr 15, 2016

Yes, you need to rebuild your plugin using the CC SDK headers. I thought you had already done that, but looking back through the thread you started off saying the problem was with the DrawArt sample in the CC SDK and then switched to your plugin.

Translate
Adobe
Participant ,
Mar 29, 2016 Mar 29, 2016

Are you writing html+js based extension?

Why do you want to create zxp?

What are you trying to achieve?

I am bit lost here.

If you have .aip, you can directly put it in plugins directory.

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 ,
Mar 29, 2016 Mar 29, 2016

I want to create a plugin using C++ then I want to load it into Illustrator...............

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 ,
Mar 30, 2016 Mar 30, 2016

I am  using .swf file based extension .

How I can use directly .aip file as extension in illustrator CC 2015 .

Please guide me .

Previously for the older version of illustrator (Illustrator CS5.1) I was using .zxp file for extension and that Plugin

was showing in Windows Menu under extension submenu.

I am using this plugin for Artwork on my dxf file.


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 ,
Mar 30, 2016 Mar 30, 2016

Which SDK sample are you trying to build? Have you modified the source code at all?

The aip file will add the menu items, so the fact that the swf file is missing shouldn't stop the menu item appearing. The swf file is used for creating the extension GUI (panels, dialogs etc but not menu items).

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 ,
Mar 30, 2016 Mar 30, 2016

I build the CC 2015 Sdk ( DrawArt ) sample code .

There is html file for loading the .aip file not .swf file

Capture.PNG

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 ,
Mar 31, 2016 Mar 31, 2016

The DrawArt sample doesn't add any menu item to the Extensions menu. It does add to the Help menu. Can you see an "About SDK Plug-ins" submenu under the Help menu? Does the submenu include a menu item called "DrawArtHtml..."? If you can see this then it means the aip part of the plugin is working.

kundank57145709 wrote:

I build the CC 2015 Sdk ( DrawArt ) sample code .

There is html file for loading the .aip file not .swf file

Capture.PNG

This file is the manifest.xml for the UI part of the plugin which uses html not flex (swf). I am not sure how you are supposed to generate zxp files for html UIs.

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 ,
Mar 31, 2016 Mar 31, 2016

I am checking, there is sub menu About SDK Plug-ins under help menu.

but here the DrawArtWork is not displaying.

please check the attached image.

Untitled.png

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 ,
Mar 31, 2016 Mar 31, 2016

So you built and installed the StrokeFilter sample then? Is the DrawArt aip file in the same folder as the StrokeFilter aip file?

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 ,
Mar 31, 2016 Mar 31, 2016

yes DrawArt aip is in  the same folder.

Please find this atteched image

Capture.PNG

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 ,
Mar 31, 2016 Mar 31, 2016

Looks like you have several sample plugins in there! I think all the samples add to the "About SDK Plug-ins" menu so not sure why you are not seeing the others. The folder is in an Illustrator plugins folder isn't it?

I see you are on Windows. If you have a full version of Visual Studio, try this:

Start Illustrator

Start Visual Studio and from the Debug menu choose "Attach to Process..."

Select Illustrator.exe from the list of processes and click Attach

Select Debug | Windows | Modules from the Visual Studio menu

In the modules window, click on the Name column to sort by name

Look for StrokeFilter.aip and check the Path

Look for the other sample plugins

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 ,
Mar 31, 2016 Mar 31, 2016

Thank you LeoTaro for help

I am trying the solution after getting result I will confirm the result.


Thanks & 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
Engaged ,
Mar 31, 2016 Mar 31, 2016

I follow your steps for other sample plugins then It's showing in "About SDK Plug-ins" submenu in Help menu

IMG_01042016_103928.png

and I given the same path for all

IMG_01042016_103945.png


But when I Build  own plugin it run successfully and I am also using same path given above but it not shown 

   in Illustrator in "About SDK Plug-ins" submenu in Help menu

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 ,
Apr 01, 2016 Apr 01, 2016

When you say your plugin runs successfully does that mean you see it in the module list when you attach to Illustrator?

How did you create your plugin? I assume from what you said before it is based on the DrawArt sample. What changes have you made to the sample.

In Visual Studio, build a Debug version of your plugin and then right click on your plugin project and select "Properties". In the properties window, select Configuration Properties | Debugging. For the Command setting, choose Browse... and then select Illustrator.exe from the CC 2015 folder. Then put a breakpoint in PluginMain and the code that adds the menu and press F5 to start debugging.

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 ,
Apr 01, 2016 Apr 01, 2016

I am not performing any changes in sample code ,I already have a plugin code already developed by my company for Illustrator CS5 version.My plugin code is working perfectly for the Illustrator cs5 version.

I am new for plugin development for adobe .I am running my code for 64 bit and I am getting the output(.aip) file .I am following the same procedure as you guided for the Illustrator sample application.

The sample application's menu are displaying under help->About Sdk Plugins menu but my plugin not showing .

I am getting a warning message when starting Illustrator after my plugin creation in path (C:\Program Files\Adobe\Adobe Illustrator CC 2015\Plug-ins), Please check the attached  image file .

IMG_01042016_141826.png

Please help me to display my plugin in Illustrator menu.

Thanks in advance

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 ,
Apr 01, 2016 Apr 01, 2016

Looks like you have built a Win32 version of the plugin. You need to build a 64 bit (x64) version.

Re: Hello World - not working for 64bit illustrator

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 ,
Apr 01, 2016 Apr 01, 2016

I am building it in 64 bit version

Untitled.png

Please find it .

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 ,
Apr 01, 2016 Apr 01, 2016

Have you built a 32 bit version before? Are you sure you have the 64 bit version in the plugins folder?

In Visual Studio, do File | Open | File (Ctrl + O) and open C:\Program Files\Adobe\Adobe Illustrator CC 2015\Plug-ins\AI_Plugin_Win32.aip

It should open as a binary file, with hexadecimal values and character values to the right. About 16-18 lines down in the character values you should see "PE..L" or "PE..d". "PE..L" means 32 bit and "PE..d" means 64 bit, e.g.

MPSExport.aip 32 bit:

MPSExport32.png

MPSExport.aip 64 bit:

MPSExport64.png

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 ,
Apr 01, 2016 Apr 01, 2016

Yes I am sure It's 64 bit version

Please check in attechment file

IMG_01042016_174423.png

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 ,
Apr 01, 2016 Apr 01, 2016

Are you using any third party libraries in your plugin?

From your Visual Studio start menu group, select "Visual Studio Tools" | "Visual Studio Command Prompt"

In the command prompt run:

dumpbin /imports "C:\Program Files\Adobe\Adobe Illustrator CC 2015\Plug-ins\AI_Plugin_Win32.aip" > imports.txt

write imports.txt


Does the dump contain any non system dlls (kernel32.dll, user32.dll etc)?




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 ,
Apr 04, 2016 Apr 04, 2016

after running this command it giving Access Denied Message

IMG_04042016_143108.png

  Please find it and 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
Engaged ,
Apr 04, 2016 Apr 04, 2016

Hi Dear,  i follow your guide line as you suggested for the third party dll  checking.

i got the imports.txt file after running the command.

Please find the attached file and check it. i converted txt file in image file.

Dll Dependency.png

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 ,
Apr 04, 2016 Apr 04, 2016

Your plugin is only for using windows system DLLs. I still think the LoadLibrary call is failing for some reason. You could try creating a new console project in Visual Studio and adding this code to the main function (not tested as I don't have a windows machine available at the moment)

HMODULE lib = NULL;

DWORD why = 0;

lib = LoadLibrary( "c:\Program Files\Adobe\Adobe Illustrator CC 2015\Plug-ins\AI_Plugin_Win32.aip");

if (NULL == lib)

     why = GetLastError();

Run x64 version under debugger. I would expect lib to be NULL and why might give you a clue. You might also get a message box with more info.

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 ,
Apr 04, 2016 Apr 04, 2016

I am getting error code 126 on GetLastError() method  ,Please find the attachment.

Untitled.png

Please assist.

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 ,
Apr 05, 2016 Apr 05, 2016

Error 126 is "Module not found"

https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx

Are you sure the path to your plugin is correct?

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