kczx3 wrote: ↑08 Dec 2020, 21:33
Probably because you downloaded a release rather than the current development code. Or you downloaded from a different branch
Situation::
I think your are correct.
1. So I download the code as zip from the main page in github instead of from the release.
When I extract the zip, I click No for the replacement of the Readme.md file & another Command.xml file.
2. Then I opened
AHK studio, let it update and turned it off.
3. Then I created a file "NoUpdate.txt" at the same directory. And started
AHK studio.
The following message popped up:
---------------------------
AHK-Studio.ahk
---------------------------
Error: Unregistered window class.
Specifically: Scintilla
Line#
2960: }
2961: if (!init)
2962: DllCall("LoadLibrary","str",A_ScriptDir "\scilexer.dll"),init:=1
2963: v.im:=info.main,v.ip:=info.pos,v.iw:=info.win,notify:=info.notify,win:=window?window:1,pos:=info.pos?info.pos:"x0 y0 w0 h0"
2964: if (info.hide)
2965: pos.=" Hide"
2966: mask:=0x10000000|0x400000|0x40000000,notify:=notify?notify:"notify"
---> 2967: Gui,%win%:Add,custom,%pos% classScintilla +%mask% hwndsc g%notify%
2968: For a,b in {fn:2184,ptr:2185}
2969: this[a]:=DllCall("SendMessageA",UInt,sc,int,b,int,0,int,0)
2970: this.parent:=sc,this.sc:=sc+0
2971: if (!info.notify)
2972: s.ctrl[sc]:=this
2973: For a,b in [[2563,1],[2565,1],[2614,1],[2124,1]]
2974: this[b.1](b.2,b.3?b.3:0)
The current thread will exit.
---------------------------
---------------------------
4. I ignored it, closed it, exit
AHK Studio at the tray icon.
5. I deleted the NoUpdate.txt file, then I started
AHK Studio again. This time there was no more update from
AHK studio, and I was happy.
Question::
But why did the message pop up, should that happen under the normal procedure?