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

TL McCaughn <[email protected]> Tue, 10 Oct 2023 20:35:54 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
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.

On Tuesday, October 10, 2023 at 5:25:10 PM UTC-5 Neil Hodgson wrote:

> 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/5851d41d-39c8-4f19-8e13-508576c5bb35n%40googlegroups.com.