<?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[NppCalc for 64bit Notepad++]]></title><description><![CDATA[<p dir="auto">I would like to recompile NppCalc 32 bit plugin to 64 bit so I can use it in Notepad++ 64 bit.</p>
<p dir="auto">The source code downloaded from here <a href="https://sourceforge.net/projects/nppcalc/" rel="nofollow ugc">https://sourceforge.net/projects/nppcalc/</a> seems to be Delphi.</p>
<p dir="auto">I have installed Lazarus Delphi compiler , loaded the project and compiled it. It produced some .exe and is not usable. It is supposed to generate a dll. How to compile this Delphi code in 64 bit ?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22695/nppcalc-for-64bit-notepad</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 04:14:44 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22695.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Mar 2022 09:55:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NppCalc for 64bit Notepad++ on Fri, 11 Mar 2022 04:26:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24325">@rdipardo</a> Thank you for the detailed analysis. I have no experience in Delphi , I will continue to use 32bit NPP till a better calc plugin is available of 64bit NPP.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75089</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75089</guid><dc:creator><![CDATA[baluch2020]]></dc:creator><pubDate>Fri, 11 Mar 2022 04:26:05 GMT</pubDate></item><item><title><![CDATA[Reply to NppCalc for 64bit Notepad++ on Thu, 10 Mar 2022 12:31:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24760">@baluch2020</a>,<br />
I happen to have a Delphi and Lazarus IDE (and some experience <a href="https://community.notepad-plus-plus.org/topic/22503/new-version-of-html-tag">reviving old Delphi plugins</a>), so I looked over the code.</p>
<p dir="auto">I’m sorry to say it’s practically hopeless.</p>
<p dir="auto">First, the developer used Delphi 7, which is Windows XP-era. I’m not sure they even had to think about 64-bits in those days. Notepad++ wasn’t Unicode back then, and Delphi has since made UTF-16 the default encoding for the <code>string</code> type, so every <code>string</code> variable has to be checked for buffer overflows, or else retyped as <code>AnsiString</code> (which the developer took for granted).</p>
<p dir="auto">Porting to Free Pascal (via Lazarus) is even harder. Not only are several standard libraries missing, but the plugin makes heavy use of inter-process communication with the <a href="https://github.com/IndySockets" rel="nofollow ugc">Indy framework</a>. For years this was a Delphi-only library. A <a href="https://wiki.freepascal.org/Indy_with_Lazarus" rel="nofollow ugc">Free Pascal port</a> is still a work in progress.</p>
<p dir="auto">Even supposing you could compile the library in a modern IDE, you have to update the Scintilla interface unit, or the 64-bit DLL <a href="https://community.notepad-plus-plus.org/topic/22471/recompile-your-x64-plugins-with-new-header">will crash in current Notepad++ versions</a>.</p>
<p dir="auto">Maybe you could try getting your hands on Delphi 7, if you trust downloads from <a href="https://archive.org/details/delphi_7_ent_en" rel="nofollow ugc">the Internet Archive</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75047</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75047</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Thu, 10 Mar 2022 12:31:27 GMT</pubDate></item><item><title><![CDATA[Reply to NppCalc for 64bit Notepad++ on Thu, 10 Mar 2022 12:13:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a> thanks. but it is not userfriendly like nppcalc and many functions are missing too.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75046</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75046</guid><dc:creator><![CDATA[baluch2020]]></dc:creator><pubDate>Thu, 10 Mar 2022 12:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to NppCalc for 64bit Notepad++ on Thu, 10 Mar 2022 11:49:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24760">@baluch2020</a> said in <a href="/post/75038">NppCalc for 64bit Notepad++</a>:</p>
<blockquote>
<p dir="auto">How to compile this Delphi code in 64 bit ?</p>
</blockquote>
<p dir="auto">No idea.  But there is a 64-bit “calculator” (I think) at <a href="https://planet-cnc.com/notepad-plugin/" rel="nofollow ugc">https://planet-cnc.com/notepad-plugin/</a>.  It’s even in the Plugin Admin.  Does that one not do what you want?</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75045</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75045</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Thu, 10 Mar 2022 11:49:15 GMT</pubDate></item></channel></rss>