Link other dll to Adobe plugin
Hi, I sucessfully build a plugin that uses other functions from an external .lib file (Subversion API).
When my plugin loads, AI loads the DLLs used in the .lib successfully.
But when I set a break point at the function that supplied by the .lib file and step over it, I got this message "There is no source code available for the current location."
Has anyone seen this problem?
Background: I am writing a plugin to provide source control for AI and other Adobe product. The reason: I tried Adobe Drive 2 and Bridge combination and do not like it, Bridge does not displays Adobe Drive contents as preview images, so you can not see the images you are checking in or out. With TortoiseSVN and Subversion server one can see images of the files under source control with Window Explorer. In addition, with a plugin I am creating, you can automatically lock a file when it is added to AI and automatically unlock a file when it is deleleted from AI.
Thank you for the response, I did not build the SVN myself but download it from
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=11151&expandFolder=1115 1&folderID=91
I included the .lib files in Linker-Input-Additional Dependancies.
As for the .pdb files, I did not copy them to AI folder.
I will try as you suggested and see.
Don
Similar Messages
-
Hello Experts,
We have an adobe plugin(importing data from excel to pdf form )developed in older version , when migrated to version8.x.x, While importing
"Adobe Acrobat 8.1 has encountered a problem and needs to close. We are sorry for the inconvenience." by click here link on the same window
following message is showing
AppName: acrobat.exe AppVer: 8.1.0.137 ModName: mfc71.dll
ModVer: 7.10.3077.0 Offset: 0004d1c2
If any body know to resolve please help us.I suggest you try posting in the Acrobat SDK forum. They will want to
know what source code line you were on at the time of the problem.
Aandi Inston -
Hi everybody,
I have a short question concerning the plug-in.
I created a plug-in using visual studio 2005 for Adobe effect cs4
but i want to add dll on that plugin so,how to add dll in that plugin
please help me!!!!
ThanksAny other dependencies apart from C/C++ runtime, for example cuda
runtime which you cannot link against statically - you have to copy it
into After Effect support files, where the executable lives (or in
windows library directory, but that i would rather not do)!
Am 19.06.2011 16:15, schrieb shachar carmi:
to include external dependencies in the plug-in, go to:
Project Properties --> C/C++ --> Code Generation
and change the "Runtime Library" to "/MT"
this should make the compiler include the needed code from other DLLs in your code. -
The above mentioned error is displayed when i open Adobe Framemaker 12 after installing it.
the procedure entry point getlogicalprocessorinformation could not be located in the dynamic link kernel32.dll
this is the error.
my os is windows service pack 2
2 gb ramYou don't mention which specific version of the operating system that you are using - Windows XP, Vista, or 7 and whether you're using a 32-bit or 64-bit version.
FWIW, kernell32.dll is a Windows system-level module, so it's possible that you have some corruption in your Windows installation which is preventing FM from launching.
Also, 2Gb of RAM is a bit lean for FM. -
Passing parameter to an Adobe plugin
I have written a plugin to encrypt a PDF file..
The password is generated from a VB.NET program which i want to pass as a parameter to the Acrobat Plugin
Any help or pointers would be really appreciated
Thanks
SwapneelI have the same problem in this thread ->http://forums.adobe.com/thread/518029?tstart=0
So, i found a solution in c#... VB.net should be similar.
1º generate a DLL, in your .net project... The class of that DLL, should have an interface class and a class that implements that interface.
It should be like this:
namespace TEST
[ComVisible(true)]
[Guid("DBE0E8C4-1C61-41f3-B6A4-4E2F353D3D05")]
public interface TestClientInterface
[DispId(1)] String getTest(String test);
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[Guid("C6659361-1625-4746-931C-36014B146679")]
public class TestClient: TestClientInterface
public TestClient() {}
public String getTest(String test) { ... }
2º Generate a Strong pair Key in VS2005 console: sn -k Test.snk
3º In project properties, in menu signing, check the option "Sign the assembly", choose the previous generate key in the option "Choose a strong name key file".
4º In class AssemblyInfo, add the line:
[assembly: AssemblyKeyFile("Test.snk")]
[assembly: AssemblyVersion("1.0.0.0")]
5º Build project and generate the .dll
6º The DLL should be add to GAC using the VS2005 console: Gacutil /i Test.dll
7º In .net Framework dir, execute Regasm cmd: cd: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
cmd : Regasm Test.dll /tlb:com.Test.tlb
8º Close .net project
9º In Adobe Project add the Import : #import "com.Test.tlb" named_guids raw_interfaces_only
10º Build Adobe Project
11º Then it should VS2005 should generate a tlh file that contains the references of your .net dll
12º To use it:
CoInitialize(NULL);
Test::IMYClasseInterfacePtr pDotNetCOMPtr;
HRESULT hRes = pDotNetCOMPtr.CreateInstance(Test::CLSID_TestClient);
pDotNetCOMPtr->getTest(hello, &resultHello);
I think this all you need to know to do connect your VB program to the Adobe Plugin... Passing and receveing parameters... -
I created one adobe plugins to work from Adobe Reader/Acrobat using Adobe Acrobat SDK and that was built on .net 3.5 version. On conversion of .net framework version from v3.5 to v4.5, we are now getting error while the Adobe Reader/Acrobat is starting and plugins are not working. While making the log we found following exception:
System.IO.FileLoadException: Could not load file or assembly 'System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
File name: 'System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at System.ServiceModel.Channels.Binding.set_ReceiveTimeout(TimeSpan value)
at MyClass.Connect()
=== Pre-bind state information ===
LOG: User = domainname\username
LOG: DisplayName = System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Adobe/Reader 11.0/Reader/
LOG: Initial PrivatePath = NULL
Calling assembly : System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Binding succeeds. Returns assembly from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31 bf3856ad364e35\System.ServiceModel.Internals.dll.
LOG: Assembly is loaded in default load context.
The C# code is written as follows:
EndpointAddress endpoint = new EndpointAddress("net.pipe://localhost/MyApp/");
NetNamedPipeBinding binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None);
binding.ReceiveTimeout = TimeSpan.MaxValue;
IAcroServer cserver = ChannelFactory<IAcroServer>.CreateChannel(binding, endpoint);
Can anyone help me to find the reason and resolution of the problem I am facing. Thanks in advance.Yes plugin is written using C++ and that plugin is connecting with MyApp. Previously the plugin was working fine while the connection WCF service was in .net version 3.5 but on change of .net version to v4.5 is throwing the exception. This wcf service developed on C#.
-
Cannot see videos in youtube and other graphics. I can see them in other browsers. the Flash plugin is ativated... all of this since I upograded to 13!
thanksRecent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox 13 are most probably caused by a recent Flash 11.3 update and/or a malfunctioning Real Player browser plugin.
In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
[[Flash Plugin - Keep it up to date and troubleshoot problems]]
[[Flash 11.3 crashes]]
[[Flash 11.3 doesn't load video in Firefox]]
Other, more technical information about these issues can be found under these Links:
http://forums.adobe.com/thread/1018071?tstart=0
http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
Please tell us if this helped! -
FF crashes regularly, Adobe plugins crash FF/hang FF,
Scrolling will cause crash, clicking a link will cause crash, opening new tab will cause crash, and just sitting quietly and looking at the screen without doing anything will cause crash.
Adobe plugins won't open and cause crashes and hangs. (And the instructions in FF Support to go to Adobe and "click on logo" is garbage- there is no logo on the page linked in FF.)
FF is the latest version, being run on Windows 7 Home Premium
Using Avast, Spybot S&D, Malwarebytes.
Stand-alone Adobe products work fineSome of your crash reports weren’t sent to the Mozilla Servers.
In the address bar, type '''about:crashes'''<enter>.''' Note:''' If any reports do not
have '''BP''' in front of the numbers, click it and select '''Submit'''.
Using your mouse, '''mark''' the most '''resent 7 - 10''' crash reports, and
'''copy''' them. Now go to the reply box below and '''paste''' them in. -
I want a solution to the problem I was having on Win 7 Pro Service Pack 1 in that links on an open Adobe Acrobat Pro 10.1.12 file will not open in my Firefox Browser 33.0.2. The Error I receive is "Acrobat could not run the web browser. Unknown Error. (123)"
Change browsers. See what happens.
Be well... -
Hi together,
Office PDF Print and office abobe PDF creator(adobe plugin) create different result. It seems that Adobe PDf creater improves line thickness to 1pt instead of 0,3pt. Is there a setting to change to original 0,3 because this 0,3 are standard line thickness for our documents. with adobe V9 the line was 0,3pt. (we need thin, mid and thick lines)
After 2 day's google searching this is the last change for hope :-)
Software Versions
Windows 7
MS Office 2007 (12.0.6668.5000) SP3 MSO (12.0.6662.5000)
Adobe Acrobat X (10.1.7)
Left: MSO Adobe Plugin / MId: MS Word / Rigth: PDF printed over "print" AdobePDF printerHi Bill,
Thanks a lot for the fast reply, i have tested it with 300dpi but I didn't get a different result. The bad thing is that not all lines getting thicker. if there is no arrow or ball at the end of the line the line thickness will not change (see Pic). I think this is a Acrobat error, i don't think that this will improve the pdf quality if the progam changes only some lanes and not all to 1pt.
I Think we must downgrade to version 9. -
Adobe Plugin not working in Protected mode
We have an adobe plugin for our application. The plugin creates a toolbar button in Adobe and on clicking this button, it invokes one of the form from our application to save the document record for the PDF file in the database. The plugin was working fine till Adobe 9. It stopped working in Adobe X with proctected mode ON. However, if we turn off Protected mdoe, it works fine.
I did some research and found that we need to modify the policy rules by creating ProtectedModeWhitelistConfig.txt file and appropriate registry for it. I did those steps and now I am not getting "Access denied" error when protected mode is ON but the plugin is still not working. On further debug, I found that it fails while trying to connect to SQL Server. It gives error "SSL Security Error". This is working perfectly fine without protected mode.
Can anyone let me know what are we missing here?You may get more answers if you post in http://forums.adobe.com/community/acrobat/acrobat_sdk
-
How to give call to dll in indesign plugin
Hello All ,
I am developing one indesign plugin on Mac OS X 10.4.
I want to give a call to one dll in pluging code.
But the problem with mac os x according to my knowladge ,dll need to be build in same project where we are calling that dll.
That is why I build a xyz.dylib in same project for indesign plugin as one of the target. and I am coping it in Indesignplugin package content that is with release mode build.but dll gets build in debug mode.On Mac OS X I am using dlopen and dlsym call . But I am not able to call a dll present in indesign plugin package content. Any idea How to call a dll in indesign plugin on Mac OS X.Should we need tyo build a xyz.dylib file in release mode ?
Thanks,
Pallavi.Seems to me I don't understand something, or text format plugin isn't quite well example. But, I got some code from sdk to create layer with automation like this:
SPErr MakeLayer(void) {
PIActionDescriptor descriptor = NULL;
PIActionReference reference = NULL;
PIActionDescriptor result = NULL;
SPErr error = kSPNoError;
error = sPSActionDescriptor->Make(&descriptor);
if (error)
goto returnError;
// Move this to the top of the routine!
error = sPSActionReference->Make(&reference);
if (error)
goto returnError;
error = sPSActionReference->PutClass(reference, classLayer);
if (error)
goto returnError;
error = sPSActionDescriptor->PutReference(descriptor, keyNull, reference);
if (error)
goto returnError;
error = sPSActionControl->Play(&result, eventMake, descriptor,
plugInDialogSilent);
if (error)
goto returnError;
returnError:
if (result != NULL) sPSActionDescriptor->Free(result);
if (descriptor != NULL) sPSActionDescriptor->Free(descriptor);
if (reference != NULL) sPSActionReference->Free(reference);
return error;
and wrote aeta resource:
resource 'aete' (16000, "myFile" " dictionary", purgeable)
1, 0, english, roman,
vendorName,
"description",
plugInClassID,
1,
1,
vendorName " myFormat",
plugInAETEComment,
plugInClassID,
plugInEventID,
NO_REPLY,
IMAGE_DIRECT_PARAMETER,
"create",
keyMyCreate,
typeMyCreate,
"create type",
flagsEnumeratedParameter
typeMyCreate,
"layer",
createLayer,
"make layer"
And what now? Is any better examples? -
itunes not getting started getting " The procedure entry point AVCF playerenabledhardwareaccelerationkey could not be located in the dynamic link libraryAVFoundationCF.dll how to fix?
See Troubleshooting issues with iTunes for Windows updates.
tt2 -
Can I create a link for captions in Adobe Captivae
can I create a link for captions in Adobe
CaptivaeHi HAMADART and welcome to our community
I'm a bit fuzzy on what you are looking for.
If you are asking if you can create a hyperlink from a text
caption that will open a URL or something, the answer is that you
can, but not like you think. You would insert a caption and place
it, then insert a click box object and program it to point to the
URL. Then place the click box object over where you want your user
to click.
If you are asking if you can create a link that forces the
Closed Captioning to display, first off I'd wonder why a link when
clicking the CC button is so easy. But if you are asking if there
is a way to cause Closed Captioning to display without user
intervention, you need to take a look at fellow Adobe Community
Expert Paul Dewhurst's site and use one of his widgets.
Click
here to visit Paul's site.
Cheers... Rick -
Adobe plugin crashes in Firefox
Help! I keep getting an Adobe plugin has crashed messages, my computer is very slow, especially in games. I've had my connection checked, and also my computer. Neither has a problem. I've sent multiple crash reports, as suggested, and they say to install an older version of Flash Player. I currently use the most recent version of both Firefox and Adobe Flash Player (11.3.300.271?). Every time I try to install an older version, I get a window that says I'm not installing the latest version, and to check the Adobe web page for the most recent update! I'm stuck in a loop with no apparent way out! Can anyone help me?
Thanks.Does anyone actually read the problem? The fix is to load a previous version of shockwave, but your website won't let us!! I'm having the same problem, I HAVE THE MOST RECENT VERSION OF BOTH SHOCKWAVE AND FIREFOX, yet shockwave crashes multiple times a day, sometimes multiple times an hour! The only way that I can use my laptop, at all, is to restart it everytime it crashes. Please get a fix for this!
Donna
Maybe you are looking for
-
for 2 weeks, I haven't been able to use features of my favourite websites, Java & Flash are not working with Firefox.. I have been through all the troubleshooting uninstalling reinstalling... nothing is fixing the problem the only solution seems to b
-
hey iphone an iphone 3g and i only have about 13 apps and the yellow bar on itunes for my phone is way to big i deleted all my photos all my music every thing i ryed restoring ans all it still takes up space for sum reason ?? please someone help me
-
Difficult to open files saved in the MAC PC when working on the network.
Working on a network that has Mac and PC sharing and using the same file, but yesterday the illustrator went to the windows to open files saved in the MAC network. If I save the file on the hard drive it opens, but if you are not on the network. But
-
P1006 "Firmware Download Error" for non-administrator accounts
Hello all, I have a problem with a HP LaserJet P1006 when printing from a user account that does not have administrator rights on a new Windows Vista 64-bit machine. The error message reads: "Firmware Download Error. The printer was unable to commu
-
File location of mime directory entries
Hi guys I am running NWBC 4.0 and wish to change the SAP logo to our logo. I have managed this by making an entry in table NWBC_CFG using BRANDING_IMAGE and entering a url to an image on our intranet in the Value field. However we don't want to point