<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[My plugin does not load in the newest versions]]></title><description><![CDATA[<p dir="auto">My plugin (AJC Active Backup) loads on v5.9 and works fine.  On the newer versions it just does not load.  I’ve tried moving it to different locations like app data etc but it never loads.  Is this likely to be a location problem or has some other thing with compatibility of the dll changed in the newer versions?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17997/my-plugin-does-not-load-in-the-newest-versions</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 22:15:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17997.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jul 2019 11:54:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Thu, 19 Sep 2019 19:22:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrew-cutforth" aria-label="Profile: Andrew-Cutforth">@<bdi>Andrew-Cutforth</bdi></a> See <a href="https://github.com/notepad-plus-plus/nppPluginList" rel="nofollow ugc">https://github.com/notepad-plus-plus/nppPluginList</a>. You may want to provide a zip package which could be installed via PluginAdmin for N++ versions newer than 7.6.3.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47247</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47247</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Thu, 19 Sep 2019 19:22:53 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Tue, 30 Jul 2019 16:06:05 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your help</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45777</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45777</guid><dc:creator><![CDATA[Andrew Cutforth]]></dc:creator><pubDate>Tue, 30 Jul 2019 16:06:05 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Mon, 29 Jul 2019 13:56:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrew-cutforth" aria-label="Profile: Andrew-Cutforth">@<bdi>Andrew-Cutforth</bdi></a> said:</p>
<blockquote>
<p dir="auto">So for compatibility for different versions of Notepad++ I suppose I will have to now copy the plugin to both locations:</p>
</blockquote>
<p dir="auto">You could also use the Win32 APIs <em>GetFileVersionInfoSize</em>, <em>GetFileVersionInfo</em> and <em>VerQueryValue</em> to query the version number from the file <code>notepad++.exe</code> in order to decide which target directory to choose.</p>
<p dir="auto">I provide you some Delphi code that does the job. You should be able to port that to your preferred programming language.</p>
<p dir="auto">Documentation of the <code>VS_FIXEDFILEINFO</code> struct : <a href="https://docs.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-tagvs_fixedfileinfo" rel="nofollow ugc">https://docs.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-tagvs_fixedfileinfo</a></p>
<pre><code class="language-Pascal">// Enum to specify the type of numeric version info to query
TNumericFileVersionInfoTag = (
  nfvitFileVersion,
  nfvitProductVersion
);


class function TFileVersionInfo.GetNumericVersionInfo(const FileName: string; const InfoTag: TNumericFileVersionInfoTag; out VersionMajor, VersionMinor, Release, Build: integer): boolean;
var
  dwLen:    DWORD;
  dwHandle: DWORD;
  lpData:   pointer;
  dwBytes:  UINT;
  FileInfo: PVSFixedFileInfo;

begin
  Result       := false;

  VersionMajor := 0;
  VersionMinor := 0;
  Release      := 0;
  Build        := 0;

  dwLen := GetFileVersionInfoSize(PChar(FileName), dwHandle);
  if dwLen = 0 then exit;

  GetMem(lpData, dwLen);

  try
    if not GetFileVersionInfo(PChar(FileName), dwHandle, dwLen, lpData) then
      exit;

    if not VerQueryValue(lpData, '\', pointer(FileInfo), dwBytes) then
      exit;

    case InfoTag of
      nfvitProductVersion:
      begin
        VersionMajor := (FileInfo.dwProductVersionMS) shr 16;
        VersionMinor := (FileInfo.dwProductVersionMS) and $FFFF;
        Release      := (FileInfo.dwProductVersionLS) shr 16;
        Build        := (FileInfo.dwProductVersionLS) and $FFFF;
      end;

      nfvitFileVersion:
      begin
        VersionMajor := (FileInfo.dwFileVersionMS) shr 16;
        VersionMinor := (FileInfo.dwFileVersionMS) and $FFFF;
        Release      := (FileInfo.dwFileVersionLS) shr 16;
        Build        := (FileInfo.dwFileVersionLS) and $FFFF;
      end;
    end;

    Result := true;

  finally
    FreeMem(lpData);
  end;
end;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/45745</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45745</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Mon, 29 Jul 2019 13:56:08 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Mon, 29 Jul 2019 13:36:50 GMT]]></title><description><![CDATA[<p dir="auto">Thanks I thought I was on the latest version.  Anyway using ProcMon, Notepad++ v7.6 was finding my plugin here:<br />
C:\Users\myname\AppData\Local\Notepad++\plugins\AJCActiveBackupNppPlugin\AJCActiveBackupNppPlugin.dll</p>
<p dir="auto">Now using v7.5.1 it is finding my plugin here:<br />
C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin\AJCActiveBackupNppPlugin.dll</p>
<p dir="auto">My product <a href="https://www.ajcsoft.com/active-backup.htm" rel="nofollow ugc">AJC Active Backup</a> has the option to install the plugin and copies it to the the plugins folder.  So for compatibility for different versions of Notepad++ I suppose I will have to now copy the plugin to both locations:<br />
C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin.dll<br />
C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin\AJCActiveBackupNppPlugin.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45744</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45744</guid><dc:creator><![CDATA[Andrew Cutforth]]></dc:creator><pubDate>Mon, 29 Jul 2019 13:36:50 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Mon, 29 Jul 2019 13:17:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrew-cutforth" aria-label="Profile: Andrew-Cutforth">@<bdi>Andrew-Cutforth</bdi></a> said:</p>
<blockquote>
<p dir="auto">Notepad++ v7.6 (32-bit)</p>
</blockquote>
<p dir="auto">I do not recommend using that version.  Versions 7.6 thru 7.6.2 were in a state of flux in regard to the plugin hierarchy, where they matched neither the old v7.5.9-and-earlier hiearchy or the v7.6.3-and-newer hierarchy.  The plugin hierarchy stabilized in v7.6.3, and has stayed the same from then thru the current v7.7.1.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45742</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45742</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 29 Jul 2019 13:17:51 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Mon, 29 Jul 2019 11:10:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrew-cutforth" aria-label="Profile: Andrew-Cutforth">@<bdi>Andrew-Cutforth</bdi></a></p>
<p dir="auto">do you know <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/procmon" rel="nofollow ugc">ProcMon</a>?<br />
Set a filter to something like <strong>path contains AJCActiveBackupNppPlugin</strong> and see what is going on.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45727</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45727</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 29 Jul 2019 11:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Mon, 29 Jul 2019 08:25:28 GMT]]></title><description><![CDATA[<p dir="auto">It does not give any error message, just starts up and my plugin is not loaded.</p>
<p dir="auto">Debug info:<br />
Notepad++ v7.6   (32-bit)<br />
Build time : Nov 12 2018 - 23:51:42<br />
Path : C:\Program Files (x86)\Notepad++\notepad++.exe<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
OS : Windows 10 (64-bit)<br />
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll</p>
<p dir="auto">Folder listings with my plugin in two places</p>
<pre><code>Directory: C:\Program Files (x86)\Notepad++\plugins
</code></pre>
<p dir="auto">Mode                LastWriteTime         Length Name</p>
<hr />
<p dir="auto">d-----       25/07/2019     15:47                AJCActiveBackupNppPlugin<br />
d-----       25/07/2019     12:36                APIs<br />
d-----       25/07/2019     12:42                Config<br />
d-----       25/07/2019     12:36                disabled<br />
d-----       26/07/2019     10:27                DSpellCheck<br />
d-----       26/07/2019     10:27                mimeTools<br />
d-----       26/07/2019     10:27                NppConverter<br />
d-----       26/07/2019     10:27                NppExport<br />
-a----       02/05/2019     10:12          73728 AJCActiveBackupNppPlugin.dll</p>
<pre><code>Directory: C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin
</code></pre>
<p dir="auto">Mode                LastWriteTime         Length Name</p>
<hr />
<p dir="auto">-a----       02/05/2019     10:12          73728 AJCActiveBackupNppPlugin.dll</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45726</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45726</guid><dc:creator><![CDATA[Andrew Cutforth]]></dc:creator><pubDate>Mon, 29 Jul 2019 08:25:28 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Thu, 25 Jul 2019 16:29:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrew-cutforth" aria-label="Profile: Andrew-Cutforth">@<bdi>Andrew-Cutforth</bdi></a> said:</p>
<blockquote>
<p dir="auto">It still does not find it.</p>
</blockquote>
<p dir="auto">Does it give an error message (often through a dialog box), or does it just silently ignore it?  There are some plugins that worked with old versions of Notepad++ that don’t work under the new, due to changes in the Notepad++ codebase… but those would generally either load fine but give errors when you try to run one of their actions, or would give an error during the loading of the plugin.</p>
<p dir="auto">Are you sure there aren’t any spaces in the DLL name?  If there are, there need to be spaces in the path name as well.</p>
<p dir="auto">Please supply the Debug Info (<strong>?</strong> Menu, <strong>Debug Info</strong>, <strong>Copy Debug info into clipboard</strong>) on the version that isn’t working.  And, if possible, drop to a command prompt in your plugins directory, and give us a directory listing of the plugins directory and the subdirectory.  paste into notation like</p>
<pre><code>~~~
dir C:\Program Files (x86)\Notepad++\plugins
dir C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin
~~~
</code></pre>
<p dir="auto">to wrap your output, so it renders like:</p>
<pre><code>dir C:\Program Files (x86)\Notepad++\plugins
dir C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin
</code></pre>
<p dir="auto">This will then make sure that the forum doesn’t mangle what you’re trying to show us.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45636</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45636</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 25 Jul 2019 16:29:36 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Thu, 25 Jul 2019 14:59:40 GMT]]></title><description><![CDATA[<p dir="auto">I tried that.  So it is normally:<br />
C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin.dll</p>
<p dir="auto">So I tried it in:<br />
C:\Program Files (x86)\Notepad++\plugins\AJCActiveBackupNppPlugin\AJCActiveBackupNppPlugin.dll</p>
<p dir="auto">It still does not find it.  If I reinstall Notepad++ v7.5.9 it works again.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45634</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45634</guid><dc:creator><![CDATA[Andrew Cutforth]]></dc:creator><pubDate>Thu, 25 Jul 2019 14:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to My plugin does not load in the newest versions on Thu, 25 Jul 2019 12:36:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andrew-cutforth" aria-label="Profile: Andrew-Cutforth">@<bdi>Andrew-Cutforth</bdi></a></p>
<p dir="auto">Plugins that used to be directly in the plugins folder now have to be one level down, e.g.:</p>
<p dir="auto"><code>...\plugins\XXX.dll</code></p>
<p dir="auto">needs to go in:</p>
<p dir="auto"><code>...\plugins\XXX\XXX.dll</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/45622</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45622</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 25 Jul 2019 12:36:46 GMT</pubDate></item></channel></rss>