Community
    • 登入

    explorer.dll. The specified module could not be found.

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    34 貼文 6 Posters 5.2k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Carlos ZhangC
      Carlos Zhang
      最後由 編輯

      When I started notepad++, there was a message:

      2020-05-01_000500.jpg
      c:\notepad++\plugins\explorer\explorer.dll
      The specified module could not be found.
      explorer.dll is not compatible with the current version of notepad++.

      I checked the folder and the dll was right in it.
      I tried to delete the dll and reinstall the plugin but still the same message.

      version info:
      Notepad++ v7.8.6 (32-bit)
      Explorer 1.8.8

      Alan KilbornA 1 條回覆 最後回覆 回覆 引用 0
      • Alan KilbornA
        Alan Kilborn @Carlos Zhang
        最後由 編輯

        @Carlos-Zhang said in explorer.dll. The specified module could not be found.:

        explorer.dll is not compatible with the current version of notepad++.

        This makes me think maybe the plugin doesn’t match the “bittness” of the Notepad++.exe.
        Meaning, for your case, that the DLL is somehow 64-bit?

        1 條回覆 最後回覆 回覆 引用 2
        • Carlos ZhangC
          Carlos Zhang
          最後由 編輯

          @Alan-Kilborn said in explorer.dll. The specified module could not be found.:

          the DLL is somehow 64-bit?

          Thanks for your reply but I don’t think it’s the case.
          I installed it from the built-in plugin admin.

          PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
          • PeterJonesP
            PeterJones @Carlos Zhang
            最後由 PeterJones 編輯

            @Carlos-Zhang ,

            I just unzipped a fresh Notepad++v7.8.6 32bit, and used Plugins Admin to successfully install the Explorer 1.8.8, and it loads and runs just fine.

            Notepad++ v7.8.6   (32-bit)
            Build time : Apr 21 2020 - 15:17:06
            Path : C:\usr\local\apps\npp-other\npp.7.8.6.bin\notepad++.exe
            Admin mode : OFF
            Local Conf mode : ON
            OS Name : Windows 10 Enterprise (64-bit) 
            OS Version : 1903
            OS Build : 18362.720
            Plugins : Explorer.dll mimeTools.dll NppConverter.dll NppExport.dll 
            

            Two Three things:

            1. Could you share your ? menu’s Debug Info?

            2. Maybe something went wrong during the installation process. Please

              1. Plugins > Open Plugins Folder
              2. Rename the Explorer folder to something else (maybe old-Explorer)
              3. close that folder and exit Notepad++
              4. run Notepad++
              5. run Plugins > Plugins Admin and try to re-install the Explorer plugin
            3. If #2 didn’t work for you, you could go download the zip version of Notepad++ v7.8.6 32bit, then unzip to a folder on your desktop; run that instance of Notepad++, and see if it properly is able to install the Explorer plugin from Plugins Admin. (It may be that something went wrong during the writing in c:\notepad++\plugins\explorer\explorer.dll, though since that’s not a windows-controlled folder, I am not sure why it would fight you in that folder)

            Carlos ZhangC 2 條回覆 最後回覆 回覆 引用 0
            • Carlos ZhangC
              Carlos Zhang @PeterJones
              最後由 編輯

              此回覆已被刪除!
              1 條回覆 最後回覆 回覆 引用 0
              • Carlos ZhangC
                Carlos Zhang @PeterJones
                最後由 編輯

                @PeterJones
                Thanks for your reply.

                Notepad++ v7.8.6 (32-bit)
                Build time : Apr 21 2020 - 15:17:06
                Path : C:\Notepad++\notepad++.exe
                Admin mode : OFF
                Local Conf mode : ON
                OS Name : Windows 10 Enterprise (64-bit)
                OS Version : 1909
                OS Build : 18363.778
                Plugins : ComparePlugin.dll DSpellCheck.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll nppplugin_svn.dll NppTextFX.dll

                Plugins > Open Plugins Folder: Nothing happened. File Manager did not open. I manually renamed the folder and went to plugins admin to reinstall the plugin.
                Unfortunately it didn’t work.

                I think it would work but I don’t want a fresh notepad++ because I have many settings in it.
                Actually I have another laptop and npp w/ explorer plugin works just fine in it.
                So I copied the whole dir to this PC and the error happens.

                2020-05-01_235024.jpg
                As you can see the dll is in the folder but somehow npp can’t see it.
                BTW is the date of the dll correct?
                It looks the dll is modified when being installed.

                Alan KilbornA PeterJonesP Carlos ZhangC 3 條回覆 最後回覆 回覆 引用 0
                • Alan KilbornA
                  Alan Kilborn @Carlos Zhang
                  最後由 編輯

                  @Carlos-Zhang said in explorer.dll. The specified module could not be found.:

                  Actually I have another laptop and npp w/ explorer plugin works just fine in it.
                  So I copied the whole dir to this PC and the error happens.

                  So are you sure all these “bittnesses” line up as well?

                  Sounds like you are plugging and playing and trying a lot of things without a whole lot of knowledge about what you are doing.

                  This is an okay thing to do…but when you do it this way it is going to be darn hard for someone else to follow truly what you’ve done and offer suggestions.

                  1 條回覆 最後回覆 回覆 引用 0
                  • PeterJonesP
                    PeterJones @Carlos Zhang
                    最後由 編輯

                    @Carlos-Zhang said in explorer.dll. The specified module could not be found.:

                    1. Plugins > Open Plugins Folder: Nothing happened. File Manager did not open.

                    Well, that’s a strange problem. I’ve never had that not work. I cannot imagine why Windows wouldn’t let Notepad++ launch Explorer. But whatever is preventing that might be the culprit behind why the plugin won’t work for you, too.

                    1. I think it would work but I don’t want a fresh notepad++ because I have many settings in it.

                    That’s the point.

                    I didn’t say “throw away your old copy and start over”. I asked you to download a second, fresh copy, put into a directory like your Desktop, where I know you will have write permission, and see if it has the same problem or not. This was a temporary experiment which is quite useful in debugging a problem.

                    If it doesn’t work in your normal c:\notepad++\ location with all your normal plugins and settings, but does work in ...\desktop\notepad++ with just the default plugins and settings, then we can narrow the problem to being in one of three places: either (1) there is something unique about the folder (Windows permissions, most likely); (2) one of your other plugins is interfering with this plugin; (3) one of your other settings is interfering with this plugin.

                    If you try this experiment, we might be able to make progress. If you aren’t willing to help us help you, then I’m sorry that I won’t be much more help.

                    Actually I have another laptop and npp w/ explorer plugin works just fine in it.
                    So I copied the whole dir to this PC and the error happens.

                    Like @Alan-Kilborn said, that could cause more problems than it solves.

                    If you want to do a manual plugin installation, the better thing is to download again from the plugin’s official repository, making sure to keep track of 32bit (Explorer.zip) vs 64bit (Explorer_x64.zip)

                    But, I can confirm that Windows Explorer says that the 32bit Explorer.dll is 218KB
                    0281098b-0418-4fa1-8c30-e52739d5fc1d-image.png

                    whereas the 64bit is 252KB
                    907737f8-139a-496c-9462-8d8b02a5581c-image.png

                    … so from the first-level approximation, you might have the right DLL

                    BTW is the date of the dll correct? It looks the dll is modified when being installed.

                    When the plugin installer downloads and unzips the DLL, it apparently changes the timestamp to when you installed it, rather than whatever the actual compilation date was.

                    As you can see the dll is in the folder but somehow npp can’t see it.

                    No. Notepad++ obviously sees the DLL: if Notepad++ couldn’t see the DLL, it wouldn’t try to load it and wouldn’t show an error.

                    If you want any more help from us, you’re going to have to be willing to run the experiments we suggest. Otherwise, good luck.

                    Carlos ZhangC 1 條回覆 最後回覆 回覆 引用 3
                    • Carlos ZhangC
                      Carlos Zhang @PeterJones
                      最後由 編輯

                      @PeterJones
                      Of course I am willing to do the experiment.
                      I extract the new 7z to the desktop and install the explorer plugin from plugin admin. And it can’t work either!
                      Here is the debug info.

                      Notepad++ v7.8.6 (32-bit)
                      Build time : Apr 21 2020 - 15:17:06
                      Path : C:\Users\Carlos\Desktop\npp.7.8.6.bin\notepad++.exe
                      Admin mode : OFF
                      Local Conf mode : ON
                      OS Name : Windows 10 Enterprise (64-bit)
                      OS Version : 1909
                      OS Build : 18363.778
                      Plugins : mimeTools.dll NppConverter.dll NppExport.dll

                      I didn’t install mimeTools.dll NppConverter.dll NppExport.dll.
                      Looks they are default plugins.
                      Thanks.

                      Carlos ZhangC 1 條回覆 最後回覆 回覆 引用 1
                      • Carlos ZhangC
                        Carlos Zhang @Carlos Zhang
                        最後由 編輯

                        I then install Compare and NppFtp plugins.
                        They don’t have such issue.

                        cmeriauxC EkopalypseE 2 條回覆 最後回覆 回覆 引用 0
                        • cmeriauxC
                          cmeriaux @Carlos Zhang
                          最後由 編輯

                          @Carlos-Zhang you may try with notepad++ 64b portable edition.
                          Don’t you have an antivirus that may block the dll loading ?

                          cmeriauxC 1 條回覆 最後回覆 回覆 引用 2
                          • cmeriauxC
                            cmeriaux @cmeriaux
                            最後由 編輯

                            You may also try with admin privileges. Never knows…

                            1 條回覆 最後回覆 回覆 引用 2
                            • PeterJonesP
                              PeterJones
                              最後由 編輯

                              @Carlos-Zhang ,

                              Thanks for running the experiment and giving the debug info.

                              And it can’t work either!

                              unfortunately, that doesn’t tell us what went wrong. Were there error messages? If so, screenshot them and include them, please. If no error messages, what exactly happened when you tried? Be as explicit as you can, telling us about every click or keystroke.

                              Carlos ZhangC 1 條回覆 最後回覆 回覆 引用 0
                              • EkopalypseE
                                Ekopalypse @Carlos Zhang
                                最後由 編輯

                                @Carlos-Zhang

                                Could it be that it finds another explorer.dll first?

                                1 條回覆 最後回覆 回覆 引用 1
                                • Carlos ZhangC
                                  Carlos Zhang @PeterJones
                                  最後由 編輯

                                  @PeterJones said in explorer.dll. The specified module could not be found.:

                                  unfortunately, that doesn’t tell us what went wrong. Were there error messages?

                                  The same message.
                                  c:\notepad++\plugins\explorer\explorer.dll
                                  The specified module could not be found.
                                  explorer.dll is not compatible with the current version of notepad++.

                                  PeterJonesP 1 條回覆 最後回覆 回覆 引用 0
                                  • PeterJonesP
                                    PeterJones @Carlos Zhang
                                    最後由 編輯

                                    @Carlos-Zhang ,

                                    The same message.
                                    c:\notepad++\plugins\explorer\explorer.dll

                                    It gave the error message for c:\notepad++\plugins\explorer\explorer.dll when you tried to install it while running C:\Users\Carlos\Desktop\npp.7.8.6.bin\notepad++.exe? That doesn’t seem right to me: the one on your desktop shouldn’t know anything about c:\notepad++. Are you sure when Notepad++ re-launched after you installed the plugin in your desktop copy that it correctly ran the desktop copy again?

                                    Further, I like @Ekopalypse’s theory: your Notepad++ is somehow finding a different explorer.dll. Two experiments for that, using your desktop copy of Notepad++ (we’re still trying to keep things independent of other settings and plugins that might be interfering):

                                    1. From a command prompt (cmd.exe), you could try where explorer.dll: if there’s an explorer.dll in your path (that it would thus possibly find before going to the plugins\explorer\explorer.dll), the cmd.exe where command might tell you about it.
                                    2. Go into desktop`npp.7.8.6.bin\plugins`, rename the folder explorer to MyExplorer and the dll that was explorer\explorer.dll to MyExplorer\MyExplorer.dll. Close Notepad++. Run the desktop copy of Notepad++.
                                    Carlos ZhangC 1 條回覆 最後回覆 回覆 引用 1
                                    • cmeriauxC
                                      cmeriaux
                                      最後由 編輯

                                      You may also try to use the Proc Monitor tools , to check which explorer.dll is loaded.

                                      https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • cmeriauxC
                                        cmeriaux
                                        最後由 編輯

                                        Here is a screenshot of procMonitor which could be tricky to use.
                                        Add a filter " process name contains notepad" and “paht contains explorer.dll”. Then you’ll se detail operations and query and its status.

                                        bf06b8d7-8a95-40f0-b687-3d0f3f5b075f-image.png

                                        Carlos ZhangC 1 條回覆 最後回覆 回覆 引用 1
                                        • Carlos ZhangC
                                          Carlos Zhang @PeterJones
                                          最後由 編輯

                                          @PeterJones said in explorer.dll. The specified module could not be found.:

                                          It gave the error message for c:\notepad++\plugins\explorer\explorer.dll when you tried to install it while running C:\Users\Carlos\Desktop\npp.7.8.6.bin\notepad++.exe? That doesn’t seem right to me

                                          I meant the same message except the path.
                                          2020-05-04_204151.jpg

                                          Carlos ZhangC PeterJonesP 2 條回覆 最後回覆 回覆 引用 0
                                          • Carlos ZhangC
                                            Carlos Zhang @Carlos Zhang
                                            最後由 編輯

                                            >where explorer.dll
                                            INFO: Could not find files for the given pattern(s).

                                            2020-05-04_204733.jpg

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