go-sciter
go-sciter copied to clipboard
tiscript data binding doesn't work with go-sciter.
https://sciter.com/model-view-whatever-the-plus-engine-for-sciter/ this's not working for in go-sciter. It works fine with sciter.exe and sciter-mfc.exe.
code below:
w, err := window.New(sciter.SW_MAIN,sciter.DefaultRect) if err != nil { log.Fatal(err) } w.LoadFile(
x:\0-basic-variable-binding.htm) w.SetTitle("Hello, world") w.Show() w.Run()
I think this is because of as stated in the README.md
Things that are not supported:
Sciter Node API TIScript Engine API
For this to work I think someone would have to make pure C headers. Also stated:
It seems Sciter is developed using C++, and the included headers in the Sciter SDK are a mixture of C and C++, which is not quite suitable for an easy golang binding.
I'm not much fond of C++ since I started to use Golang, so I made this modification and hope Andrew Fedoniouk the author would provide pure C header files for Sciter. :)
Things that are not supported
No, it is about the native API bindings. It is parallel to TIScript itself which should work as is anywhere.
i use tis +plus in many projects with go-sciter, it works well. please use inspector app and debug it