Menu

Error creating process: nppcm.dll

2008-02-29
2012-11-13
  • Nobody/Anonymous

    I have been using Notepad++ for a very long time without any problem.  However, recently I ran into a problem where if I were to select "Edit with Notepad++", I would receive an error message: "Error creating process: nppcm.dll needs to be in the same directory than notepad++.exe".  However, if I selected "Open", I would not run into this problem at all.  My system is Windows XP, not Vista; and my Notepad++ version is 4.7.5.  Thank you for looking into this. 

     
    • Nobody/Anonymous

      Try this version of nppcm.dll:
      http://harrysnppstuff.webs.com/NPPFiles/nppcm.dll
      It displays which error exactly occurs. Usually you cant jsut copy it over, you have to kill the explorer.exe task in the taskmanager, start cmd and overwrite the file, then restart explorer.exe.
      Or, if you know how, unregister the extension, restart explorer, copy the new extension over and register it.

      Harry

       
      • Nobody/Anonymous

        Thank you, Harry.  After I replaced nppcm.dll, "Edit with Notepad++" disappeared when I right clicked on the files, so I had to set that up again.  I used "Open with Notepad++" instead of "Edit with Notepad++" to avoid confusion. 

        I used "Open with Notepad++" on a couple of files, but did not receive "Error creating process: nppcm.dll needs to be in the same directory than notepad++.exe" or any other error message.  All files opened perfectly. 

        Afterwards, I followed the same steps (killing explorer.exe, starting cmd, restarting explorer.exe) again, but replaced the new nppcm.dll with the old nppcm.dll.  The error, "Error creating process: nppcm.dll needs to be in the same directory than notepad++.exe", returned again, but only when I clicked on "Edit with Notepad++"; "Open with Notepad++" worked without any error message. 

        "Open with Notepad++" is not very special.  It uses DDE and the application name is "notepad++".  The command line is: "C:\Program Files\Notepad++\notepad++.exe" %1

         
        • Nobody/Anonymous

          Are you using a 64 bit OS?

          Edit with Notepad++ is a shell extension that gets loaded as a DLL, Open with Notepad++ sounds like something custom you madewith the registry or fiel type editor in windows, that usually always works, but it misses that great Notepad++ icon :)

           
          • Nobody/Anonymous

            (Yep, "Open with Notepad++" is something that I had to setup myself.)  No sir, still on 32 (Windows XP).  :)

             
            • Nobody/Anonymous

              Ok, I forgot something, the version I sent has a different UUID so you have to re-register it.
              so copy over the new one, fire up a cmd, browse to the directory and type "regsvr32 nppcm.dll", that should install it.

               
              • Chris J. Breisch

                Has a solution to this problem been discovered?  I am also having this issue.

                 
                • Nobody/Anonymous

                  Please download the nppcm.dll I posted earlier in this thread and follow the instructions (including reregistering the extension). This will help in solving the problem since no-one seems to know what causes this.

                  Harry

                   
    • Steven Greenwood

      This error stopped once i turned off "Run as Administrator"

      more here:
      http://sourceforge.net/forum/message.php?msg_id=4945733

       
    • Nobody/Anonymous

       
      • Nobody/Anonymous

        Thank you for looking into this.  Unfortunately, I am pretty sure that this was not the case for me.  In my case, everything worked fine for more than a year, then one day out of the blue, with no configuration changes (or other changes that I can think of), the error happened.  Is there anything else I should check?