Scintilla Static Library

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

DoubleDutch wrote:The only thing that I can see thats been 'depreciated' to do with folding is:
SC_FOLDFLAG_BOX
SC_FOLDLEVELBOXHEADERFLAG
SC_FOLDLEVELBOXFOOTERFLAG
SC_FOLDLEVELCONTRACTED
SC_FOLDLEVELUNINDENT
These functions are not used in jaPBe code ; there are only defined in Scintilla.pbi but not actually used.
DoubleDutch wrote:I can (i think) create a version with the depreciated functions back in...
Thanks. Got your PM. Unfortunately, it doesn't work.
It's a seldom crash which seems to concern folding ; it only happend so far with one source, and only under certain circumstances.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Maybe it's some kind of memory corruption?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

DoubleDutch wrote:Maybe it's some kind of memory corruption?
Might be.
A new Scintilla version (1.79) was released on 1 July 2009.
According to ScintillaHistory.html, some bugs introduced in v1.78 are fixed.

I didn't have the time to test it yet.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

Update (all PB versions)

Changes :
- upgraded Scintilla to version 2.01


(Should work on all versions of Windows [compiled with VS2003] : thanks DoubleDutch !)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

Update (all PB versions)

Changes :
- upgraded Scintilla to version 2.02


(Should work on all versions of Windows [compiled with VS2003] : thanks DoubleDutch !)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
X
Enthusiast
Enthusiast
Posts: 311
Joined: Tue Apr 04, 2006 6:27 am

Re: Scintilla Static Library

Post by X »

Installed on PB 4.41 x64 on Windows 7. Opened the ScintillaStaticLibTest.pb file with jaPBe 3.10.2.822. Pressed F6 to run, and get the following error:

Linker error

POLINK: fatal error: Corrupt library: ".\ScintillaStaticLite_LIB_1.lib"


Cant use the library ...
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

X wrote:Installed on PB 4.41 x64 on Windows 7...
As stated on my homepage, all my libs / tools are for Windows x86 only.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
X
Enthusiast
Enthusiast
Posts: 311
Joined: Tue Apr 04, 2006 6:27 am

Re: Scintilla Static Library

Post by X »

That was impossible to know :) Since direct download link is on this thread, but no mentioning of 32-bit only.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

Update (PB4.5x version)

Changes :
- upgraded Scintilla to version 2.20 (thanks DoubleDutch !)
  Warning : due to some API calls like MonitorFromPoint(), Scintilla > 2.02 requires Win2000 as minimum OS.
  The previous version is still available : http://gnozal.ucoz.com/ScintillaStatic_450_v202.zip
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Scintilla Static Library

Post by DoubleDutch »

Does this also apply to the dll? Or is it just the lib version?

(I mean if you don't call MonitorFromPoint(), does it still work?)

If anyone wants the original dll's compiled with VS2003, here they are:
http://ɯoɔ.com/downloads/scintilla.zip
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

DoubleDutch wrote:Does this also apply to the dll? Or is it just the lib version?
If you examine the DLLs with dependency walker, you see 3 functions not successfully loaded (USER32) on NT4 : MonitorFromPoint(), MonitorFromRect() and GetMonitorInfoA().
And I can't load Scintilla.DLL v2.20 with PB4.50 on NT4.

MSDN says these functions need Win 2000 or above.
However, the 2003 SDK help says Win98/SE is also supported ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

Update (PB4.5x version)

Changes :
- upgraded Scintilla to version 2.22 (thanks DoubleDutch !)
  Warning : due to some API calls like MonitorFromPoint(), Scintilla > 2.02 requires Win2000 as minimum OS.
  A (previous) version compatible with all Windows versions is still available : http://gnozal.ucoz.com/ScintillaStatic_450_v202.zip
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Scintilla Static Library

Post by DoubleDutch »

no problem. :)

Does this version still not load on NT4?

Anyone else want the dll versions? - they are at:
http://ɯoɔ.com/downloads/scintilla.zip
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Scintilla Static Library

Post by gnozal »

DoubleDutch wrote:no problem. :)
Does this version still not load on NT4?
No (USER32 -> MonitorFromPoint(), MonitorFromRect() etc...).
I think they dropped support for Windows < Win2k.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Scintilla Static Library

Post by DoubleDutch »

That's a shame - any ideas when that was implemented - I'll add the last working dll to my app and load that if the 'openlibrary' fails.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply