Recent

Author Topic: Q: somebody aware of a working Lazrarus port of DScintilla?  (Read 392 times)

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 316
I'm thinking about to port a very old Delphi7 app (Windows x64) to Lazarus Win x64.
It's a kind of WinGrep with a readonly file display of items found resp. files clicked within a list view.

For that frontend previously i had used SynEdit, but later decided, for a couple or reasons, to go for the Delphi Scintilla wrapper (wrapper for SciLexer.dll).
Attempts to port it to Lazarus, as of some topics within the forum, don't sound very optimistic (basic issues to access the DLL).

Does anybody know if meanwhile a Lazarus port of the DScintilla wrapper does exist?


af0815

  • Hero Member
  • *****
  • Posts: 1036
Re: Q: somebody aware of a working Lazrarus port of DScintilla?
« Reply #1 on: July 13, 2022, 01:15:22 pm »
Btw D7 cannot be win64 !!! It is only 32 Bit. So it is netter if you bring it to the same bitness first. And is that lib a must have? What are the goals to use this externsl lib?

Edit: From the Homepage https://www.scintilla.org/
Quote
Scintilla and SciTE are currently available for Intel Win32, macOS, and Linux compatible operating systems with GTK

Looks no way for 64 Bit

Here im Forum:
https://forum.lazarus.freepascal.org/index.php?topic=1151.0
https://forum.lazarus.freepascal.org/index.php?topic=26331.0
« Last Edit: July 13, 2022, 01:29:30 pm by af0815 »
regards
Andreas

PascalDragon

  • Hero Member
  • *****
  • Posts: 4759
  • Compiler Developer
Re: Q: somebody aware of a working Lazrarus port of DScintilla?
« Reply #2 on: July 13, 2022, 01:43:35 pm »
Edit: From the Homepage https://www.scintilla.org/
Quote
Scintilla and SciTE are currently available for Intel Win32, macOS, and Linux compatible operating systems with GTK

Looks no way for 64 Bit

I think they mean Win32 as in not macOS or Linux, because the download page for SciTE contains a 64-bit version for Windows.

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 316
Re: Q: somebody aware of a working Lazrarus port of DScintilla?
« Reply #3 on: July 13, 2022, 02:37:31 pm »
Lots of thanks Andreas and PascalDragon for your replies!

Yes, it was meant for 64 bit (for 32 bit i could continue to use Delphi 7 [UniCode wouldn't be the top prio in the first line]).
And yes, the wrapper is (Windows and) 32bit only ... or maybe it was, as i had read threads that meanwhile 64bit code parts had been merged into,  IFDEFed by latest Delphi constants resp 'CompilerVersions'). // Scintilla itself is delivered as 32- or 64bit DLLs.

So i hadn't been very optimistic here. But it's a pity, because Scintilla is very speed optimized and the wrapper nice to use.

 

TinyPortal © 2005-2018