Jump to content

Recommended Posts

Posted

I had SciTE loaded in Win'98se. It said it was the Lite version.

I downloaded the version from:

http://www.autoitscript.com/autoit3/scite/downloads.shtml

I'm trying to get the full version loaded. I installed it over the top of the other version.

I'm getting an error saying:

"Scintilla dll could not be loaded"

I re-booted. Same Error.

I uninstalled SciTE. I re-booted. I re-installed SciTE. Same Error.

The file SciLexer.dll is in the same folder as SciTE.exe.

It's the default folder: C:\Program Files\AutoIt3\SciTE\SciTE.exe

Any ideas what I could be doing wrong?

Docfxit

Posted

Try this version of SciLexer.Dll and let me know if that works?

Jos

That worked perfectly. It doesn't give me the error while coming up. I also see the debug output. It's great.

Thank you very much for fixing it.

Docfxit

Posted

I just received an Invalid Page Fault so please don't distribute that version yet.

I will past the details as soon as I can. I have to drive over to that location.

Docfxit

Posted

I just received an Invalid Page Fault so please don't distribute that version yet.

I will past the details as soon as I can. I have to drive over to that location.

Docfxit

SCITE caused an invalid page fault in

module SCILEXER.DLL at 017f:10011266.

Registers:

EAX=00b75775 CS=017f EIP=10011266 EFLGS=00210206

EBX=00000000 SS=0187 ESP=006cd7c4 EBP=006cd820

ECX=86f3d8a0 DS=0187 ESI=00004760 FS=5f4f

EDX=000163a4 ES=0187 EDI=00b0b3a8 GS=5edf

Bytes at CS:EIP:

88 04 0e 46 3b 75 0c 72 e4 8b 45 10 88 1c 06 e9

Stack dump:

0000010d 00b0b3a8 00000fdc 006cd7d8 23a20187 bff71547 86f3d8a0 0000892e 00000b18 006cd898 0041eeb0 00000001 00000b18 00000000 0000000d 00000007

Thank you for looking at it.

Docfxit

  • Developers
Posted (edited)

Could you give the current version a try to see if that still crashes. If so please provide a script that I can test with.

http://www.autoitscript.com/autoit3/scite/...E4AutoIt3/win9x

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Could you give the current version a try to see if that still crashes. If so please provider a script that I can test with.

http://www.autoitscript.com/autoit3/scite/...E4AutoIt3/win9x

Jos

Thank you for working on it. I have downloaded and installed the latest version you created. I am testing it now. It did seem to stay up longer. It still crashed.

SCITE caused an invalid page fault in

module SCILEXER.DLL at 017f:100111b5.

Registers:

EAX=00b4bc6c CS=017f EIP=100111b5 EFLGS=00010206

EBX=00000000 SS=0187 ESP=006cd798 EBP=006cd804

ECX=872aa540 DS=0187 ESI=00004ac0 FS=32ef

EDX=000163a4 ES=0187 EDI=00b0b7a8 GS=5437

Bytes at CS:EIP:

88 04 0e 46 3b 74 24 10 72 e3 8b 45 10 88 1c 06

Stack dump:

872aa540 00b0b7a8 00b0b7a8 00000007 00013bd3 000d0e88 00000007 872aa540 00000006 c5560006 872aa540 169f2d8c bff714d9 0000017f 006cd7d8 00000187

The script I am using is:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
;  This is for '98
#AutoIt3Wrapper_UseAnsi=y
#AutoIt3Wrapper_Run_Debug_Mode=Y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode", 4)
Opt("WinDetectHiddenText", 1)
Opt("MouseCoordMode", 0)
AutoItSetOption("TrayIconDebug", 1) ;0-off
; Set so that tray displays current line number
Dim $t
Dim $Crashed = -1
Dim $Show_Log
;HotKeySet("{F8}", "Terminate")
;HotKeySet("{F10}", "Show_Log")

Start_K9()
MsgBox(0, "K9 Restarter", "Running K9 and minimizing..." & @CRLF & "")

While 1
    $t = $t + 1
    If $t = 5 Then
        Start_K9()
        $t = 0
    EndIf
    ;            SplashTextOn("K9 Restarter","K9 is running." & @CRLF & "K9 has crashed " & $Crashed & " times.",300,75,0,0)
    ;       Sleep(1000)
    ;      SplashOff()
    $var = WinList()

    For $i = 1 To $var[0][0]
        ; Only display visble windows that have a title
        If $var[$i][0] <> "" And IsVisible($var[$i][1]) Then
            $text = WinGetText($var[$i][0], "")
            ;  ******  When the window "Something bad happen" pops up this script locks up on the next line
            ;           MsgBox(0, "Details", "Title= " & $var[$i][0]  & @LF & "Text= " & $text & @LF & "Handle= " & $var[$i][1])
            MsgBox(0, "Details", "Title= " & $var[$i][0] & @LF & "Handle= " & $var[$i][1], 2)
            Sleep(3000)

        EndIf
    Next
    If WinExists("K9 - 1.28 - http://keir.net", "Something bad happen") Then
        WinActivate("K9 - 1.28 - http://keir.net", "Something bad happen")
        WinWaitActive("K9 - 1.28 - http://keir.net", "Something bad happen")
        Send("{ENTER}")
    EndIf
    If WinExists("K9", "This program has performed") Then
        WinActivate("K9", "This program has performed")
        WinWaitActive("K9", "This program has performed")
        Send("{ENTER}")
    EndIf
    Sleep(8000)
WEnd

Func Start_K9()
    If Not ProcessExists("K9.exe") Then
        Run("C:\Program Files\K9\K9.exe", "", @SW_MINIMIZE)
        $Crashed = $Crashed + 1
    EndIf
    Sleep(1000)
EndFunc   ;==>Start_K9
Func IsVisible($handle)
    If BitAND(WinGetState($handle), 2) Then
        Return 1
    Else
        Return 0
    EndIf

EndFunc   ;==>IsVisible

Func Terminate()
    Exit 0
EndFunc   ;==>Terminate

Func Show_Log()
    $Show_Log = Not $Show_Log
    If ($Show_Log) Then
        If (ProcessExists("K9.exe")) Then
            SplashTextOn("K9 Restarter", "K9 is running." & @CRLF & "K9 has crashed " & $Crashed & " times.", 300, 75, 0, 0)
        Else
            SplashTextOn("K9 Restarter", "K9 is NOT running." & @CRLF & "K9 has crashed " & $Crashed & " times.", 300, 75, 0, 0)
        EndIf

    Else
        SplashOff()
    EndIf
EndFunc   ;==>Show_Log

When I bring it up on the screen I press F5 to run it. I don't think anything in there will hurt your machine. Just leave it running for a while and it should crash. With the last version it crashed much sooner.

I'm running in '98 se. I don't know if it realy makes any difference to run it in XP.

Thank you for working on it.

Docfxit

  • Developers
Posted (edited)

Did you download and update both the SciTE.exe and Scitilla.dll ?

Edit: It did crash for me too in Win98SE.. checking if WinXP does the same

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Developers
Posted

I tested with the latest official release of SciTe (v 1.75) release by Neil Hodgson that supported win9x and this version also gives the same crash in Win98 with your script.

I am not getting any errors/probems in WinXP so have no plans to persuit this any futher as we have no plans to keep on supporting/maintaining a win9x version ourselfs.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...