go-sciter icon indicating copy to clipboard operation
go-sciter copied to clipboard

tiscript data binding doesn't work with go-sciter.

Open TongxiJi opened this issue 5 years ago • 3 comments

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()

TongxiJi avatar Aug 25 '19 04:08 TongxiJi

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. :)

VanillaScent avatar Oct 13 '19 06:10 VanillaScent

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.

pravic avatar Oct 14 '19 06:10 pravic

i use tis +plus in many projects with go-sciter, it works well. please use inspector app and debug it

big-hippo avatar Dec 03 '19 07:12 big-hippo