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

75 views
Skip to first unread message

TL McCaughn

unread,
Oct 10, 2023, 4:48:43 PM10/10/23
to scite-interest
I'm in dire need of help and don't know where else to look for help. I wrote a wrote a program back probably 12 years ago that was/is an IDE for the IWBasic programming language. The gentleman who helped me setup the scintilla portion of it is no longer around. 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

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

Neil Hodgson

unread,
Oct 10, 2023, 6:25:10 PM10/10/23
to scite-interest
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:

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.

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.


   Neil

TL McCaughn

unread,
Oct 10, 2023, 11:35:54 PM10/10/23
to scite-interest
the dll was distributed with the IDE as part of an installer EXE and the package has been working fine for act least 6 years with no customer complaints until about3 weeks ago when a new customer bought the lauguage and received the IDE INSTALLER.  I had not used the IDE in some time and that was when I found out it did not work on my desktop. Within a few days other forum members mentioned having the same problem. I pull out my non internet connected lapnot and discovered that it worked fine there.
Since my initial posting this morning, I having been striping code out and try to see if I can get a change when I attempt to open a file.  The crash occurs when the statement to open the scintilla window is executed.

TL McCaughn

unread,
Oct 10, 2023, 11:38:01 PM10/10/23
to scite-interest
my desktop  PC and laptop are both windows 10 machines

TL McCaughn

unread,
Oct 10, 2023, 11:41:04 PM10/10/23
to scite-interest
Sorry to clutter up thisgroup ... you can delete if you like ... thanks for the info
Reply all
Reply to author
Forward
0 new messages