Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    21 貼文 12 Posters 104.2k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • donhoD
      donho
      最後由 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 EslerC 1 條回覆 最後回覆 回覆 引用 2
      • dailD
        dail
        最後由 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.

        donhoD 1 條回覆 最後回覆 回覆 引用 1
        • MAPJe71M
          MAPJe71
          最後由 編輯

          …and their users!

          1 條回覆 最後回覆 回覆 引用 1
          • donhoD
            donho @dail
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 0
            • dailD
              dail
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • StanDogS
                StanDog
                最後由 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 條回覆 最後回覆 回覆 引用 0
                • dailD
                  dail
                  最後由 編輯

                  @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 條回覆 最後回覆 回覆 引用 0
                  • StanDogS
                    StanDog
                    最後由 編輯

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

                    1 條回覆 最後回覆 回覆 引用 0
                    • dailD
                      dail
                      最後由 編輯

                      Visual Studio Community 2013 C++

                      1 條回覆 最後回覆 回覆 引用 0
                      • StanDogS
                        StanDog
                        最後由 編輯

                        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 條回覆 最後回覆 回覆 引用 0
                        • niccordN
                          niccord
                          最後由 編輯

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

                          chcgC 1 條回覆 最後回覆 回覆 引用 0
                          • StanDogS
                            StanDog
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • chcgC
                              chcg
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 1
                              • chcgC
                                chcg @niccord
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 0
                                • gabriela mendozaG
                                  gabriela mendoza
                                  最後由 編輯

                                  whats a plug in?

                                  JAGDISHSINH JADEJAJ 1 條回覆 最後回覆 回覆 引用 0
                                  • Cliff EslerC
                                    Cliff Esler @donho
                                    最後由 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • JAGDISHSINH JADEJAJ
                                      JAGDISHSINH JADEJA @gabriela mendoza
                                      最後由 編輯

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • David CooperD
                                        David Cooper
                                        最後由 編輯

                                        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 條回覆 最後回覆 回覆 引用 0
                                        • MAPJe71M
                                          MAPJe71
                                          最後由 編輯

                                          @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 條回覆 最後回覆 回覆 引用 0
                                          • Tod MarT
                                            Tod Mar
                                            最後由 編輯

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

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors