Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Plug-in won't load

Status
Not open for further replies.

EdGioja

Programmer
Nov 6, 2003
39
0
0
US
I have created a plugin using VC++. It works GREAT on my machine. When copy the .api to other machines on the network, though, it doesn't load. I've even gone so far as putting an AVAlert in the init before ANY decisions are made. Again, it appears on my development machine, but on the others, they are not..

I have verified that the preference->General->Use only certified plug-ins in NOT checked and that the "Currently in Certified Mode" says No.

For that matter, I have verified that ALL of the settings are exactly the same.

As a test, I placed the stamper.api in the same directory, and that one loads.

I saw something about a missing DLL maybe causing a similar error in version 6. Is there a DLL I should be looking for? I have performed auto updates all the way to Version 8.1.2 (Adobe Acrobat 8 Professional) on all machines.

Did I miss something in the documentation? It seems that I should only have to move the single .api to get it to load. It can't be the problem about too many plugins since stamper will load (and these machines have fewer plugins than mine does).

After all of the work and learning involved, THIS SIMPLE STEP IS FRUSTRATING! (I would be very happy to be shown to be an idiot that didn't read something in the small amount of documentation that comes with this product ;-) )

Help please.
 
Never mind, I finally found it.
I had to create a RELEASE version of the product rather than a DEBUG version and link to non-debug dlls.
 
I know I'm talking to myself, but I want to put this out there for someone else who may be searching like crazy for an answer....


I have found that even after removing all of the debugging, I had some computers that worked and some that didn't. The answer is actually in MS C++. (Credit where it's due, I found most of this answer at
Copy the directories

C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT

and

C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.MFC

to

C:\Program Files\Adobe\Acrobat 8.0\Acrobat\plug_ins

There is probably one or two files that are actually needed, but copying these two directories fixed my problem completely on all XP machines.

I hope this helps someone else.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top