Menu

CreateProcess (740) error in v5.6.6

jlk3
2010-02-01
2012-11-13
  • jlk3

    jlk3 - 2010-02-01

    I just installed v5.6.6 and am getting an error in context sensitive menu when i try to choose 'edit with notepad++'. I'm on Windows Vista x64 machine and previously was on v5.1.x.

    I notice bug report submitted for exactly this issue a couple of weeks ago, but no response as yet: https://sourceforge.net/tracker/index.php?func=detail&aid=2935314&group_id=95717&atid=612382

    i use this command 20+ times a day, so i would like to fix.

    any ideas where this comes from, please?

     
  • Anonymous

    Anonymous - 2010-02-07

    I have the same issue, 64-bit  windows 7 in notepad++ version 5.6.6, and it's super annoying - I can't right-click and pick 'edit this in notepad', and I can't drag files from explorer onto the notepad++ window. The former operation triggers the error, the latter just replaces the normal cursor with a circle with a slash through it, and doesn't open the file when it's 'dropped'. I can, however, drag a file down to the notepad++ icon 'pinned' to the taskbar, then 'pin' the file to the application, right-click the application on the taskbar, and choose it from the list, and it opens fine.

    this is pretty bad - np++ is a pretty integral part of my development workflow, and anything that interrupts my focus is a really big deal. this bug really needs some attention.

     
  • Harry

    Harry - 2010-02-07

    Its related to elevation, and as of yet I have been unable to reproduce it. I don't know much about it, but the restricted user account I created still allows me to run notepad++ from the context menu. Do you have the autoupdater installed and does removing it (temporarily) help? Or a manifest file in the notepad++ directory? Or the doLocalConf.xml file?

     
  • jlk3

    jlk3 - 2010-02-08

    well, i do not know how, but this problem appears to have resolved itself. i did nothing explicitly to cause that to happen - my (feeble) theory is that the new install wasn't immediately recognized, but perhaps on reboot or something got the necessary permissions or whatever. but i have no idea what i'm talking about - it's just a guess. i just know that my vista system is often very finicky about permissions, so i chalk it up to that.

     
  • mateolodoss

    mateolodoss - 2010-02-12

    you just have to don't "run as administrator" ( right clic / "properties" on "notepad++.exe in tour install folder) and waiting updates ;)

     
  • Anonymous

    Anonymous - 2010-06-13

    Try to rename notepad++.exe to notepadpp.exe and change path in shortcuts. that works for me.

     
  • Anonymous

    Anonymous - 2010-06-13

    And replace notepad++.exe to notepadpp.exe in contextual menu key-value in registry

     
  • Chris Poblete

    Chris Poblete - 2010-09-02

    The rename works great!  Thanks. Looks like "++" in the program name does not work for x64 Vista/Win7.

     
  • Charles Smith

    Charles Smith - 2010-11-04

    I think I have discovered the cause of this annoyance. As Microsoft would
    say "it is by design". If you set ANY shortcut to Notepad++ to run as an
    administrator that tags the executable to run with elevated privilege no
    matter how it is started. The API used by right click extension to
    Explorer cannot start an elevated process by design.

    Now here is how I worked around the problem. Right click on the
    notepad++.exe file itself and remove the run as administrator check box.
    You probably put it there because you constantly edit UAC protected files.
    Copy notepad++.exe to another name in the same folder. I used
    NotePad++_Elevated.exe. Right click and set the copy to run elevated. You
    will still not be able to right click and edit a protected file as it runs
    the non-elevated copy. But you can create a shortcut to load the protected
    file you constantly edit with the elevated copy of Notepad++.

     
  • sinrtb

    sinrtb - 2010-12-15

    Thanks charlism, this works perfectly.

     
MongoDB Logo MongoDB