I have created an automation plugin and I am using a code snippet in this plugin created by listener to use a third party plugin. When I execute that code I am getting "filechck.dll missing"error. I tried to solve this by placing the dll in plugin folder and the photosop exe folder but no use.
Then I tried to load this dll via my plugin using
HINSTANCE loadDll1 = LoadLibraryA("C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\Plug-ins\\Athentech\\PCPlugin\\filechck.dll");
But still I am facing this issue.
One other method that struck my mind is to initialize that plugin via my plugin so that all the dlls that are used by that third party plugin gets loaded to photoshop. But I don't know how to do this.
Can you please help me on this?
Putting the dll next to Photoshop.exe should work. Are there other DLL's missing? You can use depends.exe from MS to see what your plugin requires and what other DLL's that your plugin requires ...ah em requires.
Plugin.dll for example is used by most of the plugins that ship with Photoshop.
Going the LoadLibrary method requires changing the way you link to the dll and I believe you have to manully get all the DLL entrypoints and call them via that mechanism. (Not easy!)