When attempting to open a file with NPP the following dialogue appears:
"Error creating process: nppcm.dll needs to be in the same directory than notepad++.exe"
Of course, it is actually in the same directory.
Does anyone know what mighy cause this problem? I have found two references to nppcm.dll in the registry and they are both focused on the proper path.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just had the problem and was playing around with it. It works for me on Windows Vista if I have "Run as Administrator" checked and have it set to run in Windows XP compatibility mode
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
there must be a file named notepad++.exe in the exact same directory. Restart explorer.exe if you make any changes in the registry (easy way afaik is logout/login, but you can use the taskmanager aswell).
Also, check if there are any non-ANSI (unicode) characters in your path, nppcm may suffer from the same behaviour as notepad++: unable to open filenames with unicode.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same error, and gorfou's suggestion fixed my problem. I ran a batch file that tried to create a something in "C:\program files\..." without the quotes... meaning it created C:\Program instead.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When attempting to open a file with NPP the following dialogue appears:
"Error creating process: nppcm.dll needs to be in the same directory than notepad++.exe"
Of course, it is actually in the same directory.
Does anyone know what mighy cause this problem? I have found two references to nppcm.dll in the registry and they are both focused on the proper path.
Try unchecking "Remember last operation directory" in the Settings screen. Just a guess.
Thanks, but no cigar. That option was already unchecked. Any more ideas?
I just had the problem and was playing around with it. It works for me on Windows Vista if I have "Run as Administrator" checked and have it set to run in Windows XP compatibility mode
Make sure the following key is correct:
[HKEY_CLASSES_ROOT\CLSID\{120B94B5-2E6A-4F13-94D0-414BCB64FA0F}\InprocServer32]
@="C:\\Program Files\\Notepad++\\nppcm.dll"
there must be a file named notepad++.exe in the exact same directory. Restart explorer.exe if you make any changes in the registry (easy way afaik is logout/login, but you can use the taskmanager aswell).
Also, check if there are any non-ANSI (unicode) characters in your path, nppcm may suffer from the same behaviour as notepad++: unable to open filenames with unicode.
My CLSID InprocServer32 data is: M:\Program Files\Notepad++\nppcm.dll
which is the correct path on my system.
(I used the self installer with v4.6 and would expect the registry entries to be correct)
Your input is appreciated, but I still have the problem. :-)
You could use a tool like FileMon to see what file is expected exactly where.
http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx
I think this is the hole one, who needed:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Notepad++]
@="{120B94B5-2E6A-4F13-94D0-414BCB64FA0F}"
[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID\{120B94B5-2E6A-4F13-94D0-414BCB64FA0F}]
@="Notepad++"
[HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID\{120B94B5-2E6A-4F13-94D0-414BCB64FA0F}\INPROCSERVER32]
@="M:\\Program Files\\Notepad++\\nppcm.dll"
Good luck.
check this thread for solution http://sourceforge.net/forum/message.php?msg_id=4559507
A solution is to delete the empty file "Program" in C:\
I had the same error, and gorfou's suggestion fixed my problem. I ran a batch file that tried to create a something in "C:\program files\..." without the quotes... meaning it created C:\Program instead.