Community
    • Login

    Multiple errors building NPP 7.5.6

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    24 Posts 3 Posters 8.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Claudia FrankC
      Claudia Frank @Yaron
      last edited by Claudia Frank

      Hi Yaron,

      can you set a breakpoint onto line 100 in VerticalFileSwitchesListView.cpp
      like here

      run the project by pressing F5, once npp appears do the setting changes
      and then when VS comes up with the breakpoint step through it with F10
      until you receive the access denied exception, then we know which
      part exactly throws that exception.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 1
      • YaronY
        Yaron
        last edited by

        Hello Claudia,

        I hope you’ve had a good day. Thanks again.

        default

        Well, it seems that line 95 is the culprit.

        A shot in the dark:
        You can see the message The content requires a new version of Internet Explorer in the Diagnostic Tools.
        I hardly use IE directly but I have some applications using it; I still have IE 8 installed as it’s impossible to disable Clear Type in more recent versions.
        Can that be somehow related? Or do you build NPP under Wine without even having IE?

        I do appreciate your help.

        I don’t know when you’re going to retire tonight. :)
        I won’t be by my PC tomorrow and Saturday.

        Best regards.

        Claudia FrankC 1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank @Yaron
          last edited by

          Hello Yaron,

          I’m running windows7 inside a virtual machine and IE is of version 11.
          IE might be an issue for your VS2017, MS had made dependencies
          in the past so I wouldn’t be surprised if it is needed to run VS correctly.
          But is it relevant for your current problem?

          What makes me wonder is that you said, when clicking disable extension column first
          you don’t have the problem which makes me think that the initialization is the same
          and the listview control in general shouldn’t be the problem but if it already crashes
          before doing initList something within init must have been corrupted already.
          And in init is the InitCommonControlsEx which is basically responsible for
          making listview available but … why should it work if you disable the extension first.

          Can you make the dmp file available? Through your github page?
          I’m curious what is going on.

          The other way would be to put a breakpoint on line 2243 in NppBigSwitch.cpp,
          the line with if (toShow) and then if either launchFileSwitcherPanel() or
          launchFileSwitcherPanel->display(false) is reached use F11 to jump into
          this function and then use F10 onwards and carefully check the variables when
          the lines have executed. Sounds a lot but once you get familiar with it,
          it looses all of its magic ;-)

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • YaronY
            Yaron
            last edited by Yaron

            Hello Claudia,

            …
            But is it relevant for your current problem?

            Understanding why my build crashes and yours does not is actually more important to me than fixing the Doc Switcher issue.
            I hardly use that feature but I suspect some other features may not work properly as well.

            Here is the Dump file.

            The other way would be to put a breakpoint on line 2243…

            default

            Should I build it as Debug instead of Release?

            Thank you for further looking into it and for the detailed explanations. I do appreciate that.

            Best regards.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors