Skip to main content
Participating Frequently
November 20, 2024
Answered

Premiere Pro is not load my plugin when add other dlls

  • November 20, 2024
  • 5 replies
  • 896 views
I developed a plugin that requires multiple DLL files. I put both. .aex and DLLs files in the same floder

"C:\Program Files\Adobe\Common\Plug-ins\7.0\MediaCore\myplugin\"

However, Premiere Pro did not load my plugin, and the logs showed many DLL errors

"The library could not be loaded, so the plugin is set to Ignore. The error code: 2685337601"

I confirm that my DLL dependencies are fine, and other demo was successfully run using exe
All of the above are in the Release environment

How should I fix problem
Correct answer Bruce Bullis
Thanks for reply
 
the log is
C:\Users\Administrator\AppData\Roaming\Adobe\Premiere Pro\25.0\Plugin Loading.log
 
latest situation

 

The plug-in can be loaded. The solution is to add the directory where the dll is located to the system variable PATH.
Adding this can solve the problem, but I'm afraid it will affect other applications loading into my dll.
 
Do you know how to make it  load dlls  without adding it to PATH ?

You would need to put those DLLs somewhere that's already in the PATH.

5 replies

Bruce Bullis
Legend
November 20, 2024

> ...the logs showed many DLL errors.

Post them here?

>I confirm that my DLL dependencies are fine

If the dependencies were fine, then the OS would have loaded your plugin, when PPro called LoadLibrary().  

What does Microsoft's dumpbin.exe tell you, about your plugin's dependencies?


Participating Frequently
November 21, 2024

thanks for your reply

 

> ...the logs showed many DLL errors.

Sorry, I didn't make it clear. It's because I have many dlls and there will be many same errors. However, I see that other normal plug-ins dll will also report this error, so this should not cause the failure to load.

 

>..I confirm that my DLL dependencies are fine

I used exe to verify that it can run, and used depends.exe. The red color shown above is the system dll.

 

I would like to ask if the inability to load is generally a dependency problem? Are there any other directions or logs that can be checked?

Bruce Bullis
Legend
November 21, 2024

However, I see that other normal plug-ins dll will also report this error, so this should not cause the failure to load.

I'm confused. To which log file, are you referring? Which normal plugins generate log errors, yet still load?

> The red color shown above...

There are no images in your post...?

>I would like to ask if the inability to load is generally a dependency problem?

That's the most common cause of failure, when PPro requests that the OS load plugins, yes.