Can't convert clr.ahk
Opened this issue · 2 comments
FuPeiJiang commented
I've cloned the repo https://github.com/GirkovArpa/ahk-sciter-js
I've downloaded
sciter.dll
8.23MB
SciterSharpWindows.dll
161.50KB
I've copied these files into the folder ahk-sciter-js\
I run using AutoHotkeyU64.exe
with WorkingDir ahk-sciter-js\
note: that was AHK_L v1 version 1.1.33.09
I'm getting this error
---------------------------
main.ahk
---------------------------
Error: 0x80004003 - Invalid pointer
Source: SciterSharpWindows
Description: Object reference not set to an instance of an object.
HelpFile: (null)
HelpContext: 0
Specifically: CreateMainWindow
Line#
148: {
149: VarSetCapacity(GUID, 16, 0)
150: Return,DllCall("ole32\CLSIDFromString", "wstr", sGUID, "ptr", &GUID) >= 0 ? &GUID : ""
151: }
011: FileRead,html,main.html
013: sci := Clr_LoadLibrary("SciterSharpWindows.dll")
014: sciwin := Clr_CreateObject(sci, "SciterSharp.SciterWindow")
---> 015: sciwin.CreateMainWindow(400, 300)
016: sciwin.CenterTopLevelWindow()
017: sciwin.Title := "Using SciterSharp in AutoHotkey"
018: sciwin.LoadHtml(html)
019: sciwin.Show()
020: Return
022: Return
024: Return
Continue running the script?
---------------------------
Yes No
---------------------------
if AHK_L v1 doesn't work, v2 cannot work
you said you Can't convert clr.ahk
what errors are you getting ?
can you try again? I've fixed some things
krasnovpro commented
I got it here: https://misoftware.com.br/Home/Post/TheLibrary