Community
    • 登入

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

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

                                      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 條回覆 最後回覆 回覆 引用 1
                                      • donhoD donho unpinned this topic on
                                      • 第一個貼文
                                        最後的貼文
                                      The Community of users of the Notepad++ text editor.
                                      Powered by NodeBB | Contributors