Community
    • Login

    Notepad++ plugin template (& plugin demo) x64 build available

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    21 Posts 12 Posters 102.2k 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.
    • dailD
      dail
      last edited by

      @StanDog

      First of all I can’t say I know that much about what I’m doing when it comes to 64 bit. However, I was able to modify one of my plugins for 64 bit and the Sci_SCNotification.nmhdr.code values look fine for me. The debugger shows appropriate values and my plugin behaves correctly (which heavily relies on the nmhdr.code value).

      1 Reply Last reply Reply Quote 0
      • StanDogS
        StanDog
        last edited by

        @dail May I please ask which IDE + version and what programming language you are using?

        1 Reply Last reply Reply Quote 0
        • dailD
          dail
          last edited by

          Visual Studio Community 2013 C++

          1 Reply Last reply Reply Quote 0
          • StanDogS
            StanDog
            last edited by

            Wow, you are fast! Thank you for the info. I’m on Delphi (10.1 Berlin). I will check this and will write a reply.

            1 Reply Last reply Reply Quote 0
            • niccordN
              niccord
              last edited by

              Hi,
              I’ve developed my plugin with C# and not C++.
              What should I do?

              chcgC 1 Reply Last reply Reply Quote 0
              • StanDogS
                StanDog
                last edited by

                Just a small note to Delphi developers about my previous problem: Problem fixed. It was due to an outdated plugin template, or more precisely: “Longword” was used instead of “NativeUInt” and “Longint” instead of “NativeInt”. The both last ones are platform dependent, while the first two are platform dependent too but only 8 bytes long on the 64-Bit-iOS platform.

                1 Reply Last reply Reply Quote 0
                • chcgC
                  chcg
                  last edited by

                  Hi,
                  I did some x64 porting for npp plugin manager under https://github.com/chcg/nppPluginManager/tree/app_veyor build under https://ci.appveyor.com/project/chcg/npppluginmanager/build/1.0.19, not yet splitted and consolidated as pull requests. Anyhow the plugin manger needs an extension (similar to the outdated ansi/unicode detection in the xml list of all plugins) to provide plugins as x64 version if running under x64 version of notepad++.

                  1 Reply Last reply Reply Quote 1
                  • chcgC
                    chcg @niccord
                    last edited by

                    @niccord
                    See https://notepad-plus-plus.org/community/topic/12633/npppluginnet-64-bit/4 for c# plugin based on https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net and previous NppPluginNet.

                    1 Reply Last reply Reply Quote 0
                    • gabriela mendozaG
                      gabriela mendoza
                      last edited by

                      whats a plug in?

                      JAGDISHSINH JADEJAJ 1 Reply Last reply Reply Quote 0
                      • Cliff EslerC
                        Cliff Esler @donho
                        last edited by

                        @donho - If you have time, it would be nice to add a dedicated x64 version page to the NPP website, including a link or pointer to available help documentation and an updated list of compatible plugins. Current status of the x64 Plugin Manager would also be helpful. It’s not clear if those on the github link are all 64-bit or not. Maybe add a page heading to that effect? Many thanks for all your work!

                        1 Reply Last reply Reply Quote 0
                        • JAGDISHSINH JADEJAJ
                          JAGDISHSINH JADEJA @gabriela mendoza
                          last edited by

                          @gabriela-mendoza plugin is something which will help you in working with notepad++ more easily and reliably.

                          1 Reply Last reply Reply Quote 0
                          • David CooperD
                            David Cooper
                            last edited by

                            Can the list of available plug-ins include a column to show if they are 32 or 64 bit. Would help us users check which can be installed manually. At the moment it is a suck it a see.

                            1 Reply Last reply Reply Quote 0
                            • MAPJe71M
                              MAPJe71
                              last edited by

                              @David-Cooper
                              32-bit Notepad++ can only have 32-bit plugins so PluginManager only shows 32-bit plugins.
                              64-bit Notepad++ can only have 64-bit plugins so PluginManager only shows 64-bit plugins.
                              No need for an “address model” column in the PluginManager.

                              1 Reply Last reply Reply Quote 0
                              • Tod MarT
                                Tod Mar
                                last edited by

                                For X64 Debug, just need to disable C++ optimizations to build without error (I’m on VS2017)

                                1 Reply Last reply Reply Quote 0
                                • Derek BrownD
                                  Derek Brown
                                  last edited by

                                  The Scintilla.h file in this template is out of date, causing runtime errors in x64 plugins.

                                  https://github.com/npp-plugins/plugintemplate/issues/4

                                  1 Reply Last reply Reply Quote 1
                                  • donhoD donho unpinned this topic on
                                  • First post
                                    Last post
                                  The Community of users of the Notepad++ text editor.
                                  Powered by NodeBB | Contributors