Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Plugin Development
    12
    21
    99772
    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.
    • donho
      donho last edited by donho

      [edited on the 18th September 2016]
      As you might have noticed, Notepad++ x64 build is available.

      In order to make your 64-bit plugins stable with Notepad++ x64, I recommand you to update the files you’e using for your plugin (ex. Notepad_plus_msgs.h, menuCmdID.h, StaticDialog.h, StaticDialog.cpp… etc). You can check them in updated pluginTemplate repository:
      https://github.com/npp-plugins/plugintemplate

      All Notepad++ plugins developped by me available for x64 build here:
      https://github.com/npp-plugins

      I encourage plugin authors to make your x64 build availabe, so Notepad++ x64 users will benefit from your plugins.

      Cliff Esler 1 Reply Last reply Reply Quote 3
      • dail
        dail last edited by dail

        Seeing how the Plugin Manager is a huge asset to Notepad++, do you know if @Dave-Brotherstone plans on updating it or adding the ability to distinguish between 32 and 64 bit plugins?

        Or even updating the current list of plugins…since it is so outdated. It is really hurting plugin developers.

        donho 1 Reply Last reply Reply Quote 1
        • MAPJe71
          MAPJe71 last edited by

          …and their users!

          1 Reply Last reply Reply Quote 1
          • donho
            donho @dail last edited by

            @dail said:

            Seeing how the Plugin Manager is a huge asset to Notepad++, do you know if @Dave-Brotherstone plans on updating it or adding the ability to distinguish between 32 and 64 bit plugins?

            Oups, sorry, I didn’t see your message. I have contacted @Dave-Brotherstone for this issue, without any reply.
            I’ll try surly to contact @Dave-Brotherstone again for this issue.

            Or even updating the current list of plugins…since it is so outdated. It is really hurting plugin developers.

            the current list of plugins? Which one?

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

              @donho

              the current list of plugins? Which one?

              The list of plugins that Dave Brotherstone has to publish so that the plugin manager can find new/updated plugins. It was finally updated a few weeks ago, but before that, it was nearly a year…meaning plugin developers couldn’t provide any new or updated plugins.

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

                @donho Has something changed in the notification process for the 64-bit build? My plugins receive notifications correctly in the 32-bit build of NPP, but not in the 64-bit build. For example, Sci_SCNotification.nmhdr.code contains correct values in the 32-bit build, but in the 64-bit build I always only get value 0 (zero). All without changing any code of my plugins.

                1 Reply Last reply Reply Quote 0
                • dail
                  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
                  • StanDog
                    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
                    • dail
                      dail last edited by

                      Visual Studio Community 2013 C++

                      1 Reply Last reply Reply Quote 0
                      • StanDog
                        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
                        • niccord
                          niccord last edited by

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

                          chcg 1 Reply Last reply Reply Quote 0
                          • StanDog
                            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
                            • chcg
                              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
                              • chcg
                                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 mendoza
                                  gabriela mendoza last edited by

                                  whats a plug in?

                                  JAGDISHSINH JADEJA 1 Reply Last reply Reply Quote 0
                                  • Cliff Esler
                                    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 JADEJA
                                      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 Cooper
                                        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
                                        • MAPJe71
                                          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 Mar
                                            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
                                            • First post
                                              Last post
                                            Copyright © 2014 NodeBB Forums | Contributors