Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I want to create a plugin using C++ then I want to load it into Illustrator...............
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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).
Copy link to clipboard
Copied
I build the CC 2015 Sdk ( DrawArt ) sample code .
There is html file for loading the .aip file not .swf file
Please assist me.
Regards
Kundan
Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
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.

Regards
Kundan
Copy link to clipboard
Copied
So you built and installed the StrokeFilter sample then? Is the DrawArt aip file in the same folder as the StrokeFilter aip file?
Copy link to clipboard
Copied
yes DrawArt aip is in the same folder.
Please find this atteched image
Regards
Kundan
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thank you LeoTaro for help
I am trying the solution after getting result I will confirm the result.
Thanks & Regards
Kundan
Copy link to clipboard
Copied
I follow your steps for other sample plugins then It's showing in "About SDK Plug-ins" submenu in Help menu

and I given the same path for all

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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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 .

Please help me to display my plugin in Illustrator menu.
Thanks in advance
Copy link to clipboard
Copied
Looks like you have built a Win32 version of the plugin. You need to build a 64 bit (x64) version.
Copy link to clipboard
Copied
I am building it in 64 bit version

Please find it .
Regards
Kundan
Copy link to clipboard
Copied
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:

MPSExport.aip 64 bit:

Copy link to clipboard
Copied
Yes I am sure It's 64 bit version
Please check in attechment file

Regards
Kundan
Copy link to clipboard
Copied
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)?
Copy link to clipboard
Copied
after running this command it giving Access Denied Message

Please find it and assist me.
Regards
Kundan
Copy link to clipboard
Copied
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.

Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I am getting error code 126 on GetLastError() method ,Please find the attachment.

Please assist.
Regards
Kundan
Copy link to clipboard
Copied
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?
 
					
				
				
			
		
 
					
				
				
			
		
Find more inspiration, events, and resources on the new Adobe Community
Explore Now