4 Replies Latest reply on Sep 2, 2010 3:34 PM by jbodinet

    Plugin Loading Problems During Debug

    jbodinet Level 1

      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