Copy link to clipboard
Copied
Hi guys,
In a nutshell, when I put my plugin into the MediaCore folder, it may warn me that my plugin load failed. But on the contrary, if I put it into Support Files, this warning goes away immediately.
I have found that it is because of some dlls I referenced, which have already been put into a subdirectory of MediaCore, like libcur.dll, libeay.dll or something, but I still cannot solve this problem.
I will appreciate your sweet anwser.
Thanks,
Dolag
Copy link to clipboard
Copied
And when lacking of some dll, sometimes it show me Plugin Load Failed when AE initializing, but may show Invalid Filter when applying this plugin to some layer after initialization from time to time.
This makes me confused, I'm thirsty for the reason.
Copy link to clipboard
Copied
it does sound like a dll dependecy issue. from both locations, examine your plugin in "dependency walker". it will show you what conflicts you have.
if that is indeed the issue, here's an example on how to work around it:
https://stackoverflow.com/questions/10733287/dll-dependency-version-conflict
Copy link to clipboard
Copied
Sorry I thought AE will load all dlls in MediaCore by mistake. All I need to do is move all dll to Support Files or add my dll path to environment variable, but this solution is not so elegant. There must be some other method to achieve that.
Copy link to clipboard
Copied
Take Boris as an exsample, AE will load it's dlls in C:\Program Files\BorisFX\ContinuumAE\13\lib\, which is even not in the Environment Variable. How it goes like that?
Copy link to clipboard
Copied
they probably set a shortcut in AE's plug-ins folder.
Copy link to clipboard
Copied
But I can't find it in AE's plug-ins folder. Anyway thanks for your reply.