Re: Problem with old version of Scintilla causing program to crash..

Neil Hodgson <[email protected]> Tue, 10 Oct 2023 15:25:10 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
 mccaughntl:

The problem is that it appears that a recent Windows upgrade has caused the 
program to crash anytime the user tries to open a file, i..e.. access the 
scintilla library. It is doing this to users around the world. However,, on 
pcs/laptops that have been disconnected from the internet and have not 
reveived the latest Window's updates the IDE still works just fine.
I'm not smart enough to create a new scintilla setup to satisfy my needs 
and I'm seeking help.
My source code is writen in IWBasic which I'm proficient a, just not the 
Scintilla codinging and how to get it built. I currently have a 
SciLexer.dll 10/28/2009
SciLexer.inc 11/11/2010
scintilla.inc  11/10/2010
And iis tied to CMdiChilld class of windows


The .inc files aren't from the Scintilla project. They are likely 
translated from scintilla\include\Scintilla.iface which defines the 
messages sent to Scintilla.

The date on SciLexer.dll doesn't match any binaries distributed by me. 2.01 
was 20 ‎August ‎2009 and 2.02 was ‎25 ‎January ‎2010 so the file you have 
is most likely built by your previous collaborator from 2.01 source. Its 
also possible that this is a custom version of Scintilla with additional 
fixes or features.

Historic binaries of SciTE can be download and their SciLexer.dlls 
retrieved from:
https://sourceforge.net/projects/scintilla/files/SciTE/

Both 2.01 and 2.02 run fine for me on an up-to-date installation of Windows 
10.

Windows 11 isn't supported on my current machine and that may be the cause 
of failures - clarity here may narrow down the issue. 

A possibility is that another application has installed a different version 
of SciLexer.dll in a global location like C:\Windows\System32 and your 
application isn't compatible with that version. Check if there are multiple 
copies of SciLexer.dll on machines showing failures.

Another potential issue could be if your application is installing 
SciLexer.dll into a global location and this is prevented (or access to it 
denied) by Windows as Windows becomes stricter to defend agaist malware. 
Scintilla DLLs should be installed in the same directory as your 
application and (for security and stability) loaded with a call and context 
that will only load your distributed DLL - see SetDefaultDllDirectories.
https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-setdefaultdlldirectories

Is there anyone here willing to help me out? Or connect me with someone who 
can?


This mailing list is for the SciTE editor application which uses Scintilla. 
There is a separate mailing list for for the Scintilla component itself.

https://groups.google.com/forum/#!forum/scintilla-interest

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/081c3ff8-fdc3-433c-a477-e4b5569e9466n%40googlegroups.com.