Hex-Editor v0.9.5 available

Hex Editor
2009-09-09
2013-05-21
  • Jens Lorenz
    Jens Lorenz
    2009-09-09

    Hello Notepad++ users,

    I changed a lot of stuff to fixes all known bugs and restrictions. Here the change-log:

    ------------------------------------------------------------------------------------
    09/09/09  v0.9.5 :
    ------------------------------------------------------------------------------------
        Fix: Menu of Npp++ isn't displayed properly after using hex [NPP-P-B-2799622]
        Fix: HEX v0.9.3 forgets scroll position when switching tabs [NPP-P-B-2721661]
        Fix: "Repleace" misspell in HEX-Editor plugins Help dialog [NPP-P-B-2351008]
        Fix: Opening a file from outside with enabled Hex-Mode cause graphic issues.
        Fix: "Go to another view" causes a crash if no document is opened.
        Fix: Compare has no limitations anymore.
        Fix: Bookmark color wasn't stored.
        Fix: Restriction of Simple Compare removed.
        Fix: Paste of data into combo box of Find dialog doesn't work in ANSI/HEX mode
        New: Changed Bookmark style.
        New: Shortcuts for Undo, Redo, Copy, Cut, Paste and Select All are now in sync
             with the Notepad++ shortcuts.

    Here the link:
    https://sourceforge.net/projects/npp-plugins/files/Hex%20Editor/Hex%20Editor%20Plugin%20v0.9.5/HexEditor_0_9_5_UNI_dll.zip/download

    Have fun
    Jens

     
    • koyama
      koyama
      2009-09-09

      Thanks a ton. I have already installed it and the menu bug is indeed gone. Keep up your great work!

       
    • xm
      xm
      2009-09-10

      I can confirm that the irritating blinking-menu bug is gone, thanks!

       
    • xm
      xm
      2009-09-11

      Hi,

      unfortunately I have been bitten by another HexEditor bug - when I have a two panel (cloned view etc.) Notepad++ configuration and I am trying to go fullscreen (the F11 shortcut), I get a crash (only if the HexEditor plugin is present). In one case I was able to obtain the Notepad++ crashdump file, so here is my brief analysis:

      Crashed at:

      HexEditor+0xa06a:
      0204a06a 8b8210020000    mov     eax, dword ptr [edx+210h] ds:0023:00000210=????????

      Registers:

      eax=002c0340
      ebx=00000000
      ecx=0207d500
      edx=00000000
      esi=0205b5b0
      edi=000c3718
      eip=0204a06a
      esp=000c2860
      ebp=000c2870
      cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000
      efl=00010246

      CallStack:

      HexEditor+0xa06a
      HexEditor+0x9e54
      HexEditor!isUnicode+0x1e95
      HexEditor!isUnicode+0x105b
      user32!GetDC+0x6d
      user32!GetDC+0x14f
      user32!IsWindowUnicode+0xa1
      user32!CallWindowProcW+0x1b
      MultiClipboard+0x1781
      user32!GetDC+0x6d

       
      • Jens Lorenz
        Jens Lorenz
        2009-09-11

        Crashes it also without the MultiClipboard?

        Best Regards
        Jens

         
    • xm
      xm
      2009-09-11

      Sorry, forgot to say what type of exception:

      Access violation - code c0000005

      But it is obvious - the edx is 0 here and the reading from [edx+210h] memory area is forbidden (it belongs to the system - IDT)

       
    • xm
      xm
      2009-09-11

      Yes. Steps to reproduce:

      - cleared all files & folders in the Notepad++ plugins subdir
      - added only the HexEditor 0.9.5 UNI (hey, the plugin is not "autoconfigurable", I had to manually add my old  .\Config\HexEditor.ini file, otherwise the Notepad++ complains that the HexEditor is not compatible and it refuses to load the plugin)
      - start Notepad++ (+check that the HexEditor plugin has been loaded)
      - clone view to have two panels
      - hit F11, it takes looooong time (TaskManager shows high CPU-load) and then it shows the requested fullscreen view
      - hit F11 again, this time the Notepad++ crash message ("Notepad++ cannot recover and must be shut down...") appears after the long wait
      - then a possibiliy to create the crashdump file is shown

      Analysis follows:

      Crashed at (the same place as the last time):

      HexEditor+0xa06a:
      0195a06a 8b8210020000    mov     eax,dword ptr [edx+210h] ds:0023:00000210

      CallStack:
      HexEditor+0xa06a
      HexEditor+0x9e54
      HexEditor!isUnicode+0x1e95
      HexEditor!isUnicode+0x105b
      user32!GetDC+0x6d
      user32!GetDC+0x14f
      user32!DefWindowProcW+0x180
      user32!DefWindowProcW+0x1cc
      ntdll!KiUserCallbackDispatcher+0x13
      user32!SendMessageA+0x49
      SciLexer+0x4fd9f
      SciLexer!Scintilla_DirectFunction+0xb9
      user32!GetDC+0x6d
      user32!GetDC+0x14f
      user32!IsWindowUnicode+0xa1
      user32!CallWindowProcW+0x1b
      notepad__+0x6f8d2
      user32!GetDC+0x163
      user32!IsWindowUnicode+0xa1
      user32!CallWindowProcW+0x1b

       
    • xm
      xm
      2009-09-11

      And when I really use the HexEditor plugin in Notepad++ (opened a file, Ctrl+Shift+Alt+H, clone view, F11), Notepad++ crashes, but this time there is no text in the crash-dlg (not even the wnd-name or text on buttons...). I tried blindly push the dlg buttons (as this time I have aready now that it is the Notepad++ crash dlg) and I got a new crashdump file, analysis:

      Crashed at:

      HexEditor+0x16637:
      01966637 83b91002000001  cmp     dword ptr [ecx+210h],1 ds:0023:00000210=????????

      Regs:

      eax=0198d500
      ebx=00000000
      ecx=00000000
      edx=7c90e514
      esi=019580b0
      edi=000cc448
      eip=01966637
      esp=000cc074
      ebp=000cc110
      cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000
      efl=00010206

      CallStack:

      HexEditor+0x16637
      HexEditor+0x9a59
      HexEditor+0x881b
      HexEditor+0x80d6
      user32!GetDC+0x6d
      user32!GetDC+0x14f
      user32!DefWindowProcW+0x180
      user32!DefWindowProcW+0x1cc
      ntdll!KiUserCallbackDispatcher+0x13
      HexEditor+0xa055
      HexEditor+0x9e54
      HexEditor!isUnicode+0x1e95
      HexEditor!isUnicode+0x105b
      user32!GetDC+0x6d
      user32!GetDC+0x14f
      user32!DefWindowProcW+0x180
      user32!DefWindowProcW+0x1cc
      ntdll!KiUserCallbackDispatcher+0x13
      user32!SendMessageA+0x49
      SciLexer+0x4fd9f

       
  • Jens Lorenz
    Jens Lorenz
    2009-09-15

    Xm1 thanks a lot.

    I found out the problem with your help. It will be fixed in next release. Hopefully end of the week.

    Best Regards
    Jens

     
  • xm
    xm
    2009-09-15

    Great!

    Do you use the Visual Studio possibility to produce also the map-files?

    With these available one can quickly determine the real culprit (function name where the problem appeared) even without the source codes, VS or other utilities like WinDBG. Just taking the HexEditor+0x16637 info and checking the map-file for the relevant fnc.

     
  • McLoo
    McLoo
    2009-12-18

    hi jens,

    any idea when the next F11 compatible version will be released?

    regards
    McLoo

     
  • Hi Jens

    I've found a strange bug.

    When double clicking in a .nfo file (any extension that has by default the DOS-Style), Notepap++ crashes.

    If the file is drag-droped in NP++ window or it's opened inside NP++ (File->Open…), it works fine.

    When 'HexEditor.dll' is removed or renamed, works fine again.

    Notepad++ verison: 5.6.3 Unicode (unziped w/o any aditional plugin)
    HexEditor version: 0.9.5.0

    regards

     

  • Anonymous
    2012-08-22

    @jenslorenz

    You sir, are a gentleman and a scholar… :)
    Just signed up so I could at least say thank you. And maybe say something that will make someone smile.

    I'm not an IT guy at all.. frankly I don't know squat about coding, but I have this thing… You know how some ppl when they get drunk and go home too early , they get into watching infomercials which costs them shit load of money…
    Well… my thing is, whenever I get drunk I keep browsing my PC looking for anything… that I have absolutely no idea about, opening it in notepad and trying to discover what the silly encrypted squiglys have hidden there… and the funny part is… I didn't do it looking for some challenge, I just had no clue that tools that could easily decode it existed :). So just like the guy from "Beautiful Mind" I kept searching for patterns and what not, changing fonts squishing and spreading, but I actually eventually was able to determine what the file was for..:) Take care