Skip to main content
Inspiring
September 2, 2010
Answered

Plugin Loading Problems During Debug

  • September 2, 2010
  • 1 reply
  • 2814 views

Hi Zac,

I am going in the opposite direction this time. I have our new MOV importer for CS5 working on the Mac and am now porting it over to Windows - but am running into a seemingly impenetrable situation. I have everything in the Windows project compiling and linking properly in Visual Studio 2008 (and set to target x64). I have the project setup to use Premiere as the executable for a debug session. I have a break point set on the first line of xImportEntry that has meaninful code. When I go to launch a debug session, Premiere loads and when it gets to the point in the load process where the MOV importer I am debugging should be loaded, the icon of the breakpoint I set in the project blinks twice from the 'unreachable' state to the 'reachable' state and then finally switches back off to the 'unreachable' state. At first I thought there might be a dependency issue so I checked it with Depends.exe. Sure enough, there was an issue with a runtime library, which I rectified - however it still did not resolve this load issue. After there was no longer an issue as reported in Depends, there was still an issue reported in the output console of Visual Studio regarding libmmdd.dll. The output in the console of Visual Studio, pertaining to the loading of the MOV importer, is as follows:

'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Loaded 'C:\Windows\System32\libmmdd.dll'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Unloaded 'C:\Windows\System32\libmmdd.dll'
'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Loaded 'C:\Windows\System32\libmmdd.dll'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Unloaded 'C:\Windows\System32\libmmdd.dll'

So I set the project to ignore libmmdd.lib and the output I now get in the console is:

'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
'Adobe Premiere Pro.exe': Loaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'
First-chance exception at 0x77a476fd in Adobe Premiere Pro.exe: Microsoft C++ exception: ML::ImporterPluginFailure at memory location 0x0012d858..
'Adobe Premiere Pro.exe': Unloaded 'C:\Program Files\Adobe\Adobe Premiere Pro CS5\Plug-ins\Common\CineForm\CFHD_MOV_Importer.prm'

It seems obvious that something is wonky in the MOV importer plugin that is making it so that Premiere won't load it, but I can't figure out what it is. In the MOV importer project I have attempted to mimic the settings of the project of our AVI importer, which does load properly. In that the MOV and AVI projects have almost identical settings, and as the MOV project compiles and links properly and checks out with Depends, I am starting to run out of ideas. Any thoughts as to what might be causing this?

Thanks as always,
Josh

This topic has been closed for replies.
Correct answer Zac Lam

Hi Josh,

Have you checked the Plugin Loading Log?  It'll be here on Vista:

[user folder]\AppData\Roaming\Adobe\Premiere Pro\5.0\Plugin Loading.log

If your importer isn't being loaded, it could be a DLL dependency issue (which it looks like you've worked out), an importer resource issue, or the plug-in is returning an error during one of the selectors early on, such as the imInit selector.

Do you have an IMPT resource defined?  It looks like this is still required for importers.

Regards,

Zac

1 reply

Zac LamCorrect answer
Inspiring
September 2, 2010

Hi Josh,

Have you checked the Plugin Loading Log?  It'll be here on Vista:

[user folder]\AppData\Roaming\Adobe\Premiere Pro\5.0\Plugin Loading.log

If your importer isn't being loaded, it could be a DLL dependency issue (which it looks like you've worked out), an importer resource issue, or the plug-in is returning an error during one of the selectors early on, such as the imInit selector.

Do you have an IMPT resource defined?  It looks like this is still required for importers.

Regards,

Zac

jbodinetAuthor
Inspiring
September 2, 2010

Zac,

You are a GENIUS! I owe you beer. Where do I send it?

BTW- it was the .rc file. I completely glossed over that for some reason...

Thanks as always,

Josh

PS - you *are* over 21, right?

Inspiring
September 2, 2010

Heh, that sounds really good, especially on a hot day like today in the Bay Area.  Set that beer down next to some spicy food and you're good to go.

Let's see, if I'm under 21, that would mean I started working with Premiere Pro APIs before I turned 12...?

Cheers,

Zac