Closed rdipardo closed 1 year ago
If I remember right, code was developed in Delphi 2007. That was pre-unicode and pre all the stuff that came after that. So I don't expect the code to compile in newer versions of Delphi. Porting the code might not be an easy task.
I didn't know that the plugin was still being used. I had plans for a newer version that had better integration with F# but never got the time to do it.
It's still available from the official plugin repository:
I find it useful, and very fast (thanks to Russell Libby's Pipes unit).
If you ever decide to make a new version, you may want to use the newer Pipes unit that François Piette shared on his blog some time ago. The inline assembly was updated for 64-bit registers.
This project can't be built with Delphi 10.3.3 (version 26.0.36039.7899)
The problem is coming from these two units:
FSIWrapper.pas
The
doOnEditorCopyContextMenuClick
procedure is never defined in theimplementation
section, causing 2 errors:doOnEditorCopyContextMenuClick
is actually fordoOnEditor
ClearContextMenuClick
instead:https://github.com/ppv/NPPFSIPlugin/blob/dc5f2c7eb4a89df980583a909af1072c8ae9a395/Source/Plugin/Src/FSIWrapper.pas#L465-L468
Output
Pipes.pas
Windows.WriteProcessMemory
is being passed aDWORD
for thelpNumberOfBytesWritten
parameter, but the function specification requires the widerSIZE_T
type. The compiler is throwingE2033
whereverWriteProcessMemory
is called:Output