Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetDLL invalid #343

Open
reghtml opened this issue Feb 21, 2023 · 0 comments
Open

SetDLL invalid #343

reghtml opened this issue Feb 21, 2023 · 0 comments

Comments

@reghtml
Copy link

reghtml commented Feb 21, 2023

`

package main

import (
"fmt"
"github.com/sciter-sdk/go-sciter"
"github.com/sciter-sdk/go-sciter/window"
)

func main() {
sciter.SetDLL("C:/Users/mianh/Desktop/x64/sciter.dll")

rect := sciter.NewRect(200, 500, 800, 500)
window, windowCreationErr := window.New(sciter.SW_MAIN|sciter.SW_CONTROLS|sciter.SW_ENABLE_DEBUG, rect)

if windowCreationErr != nil {
	fmt.Println("Failed to generate sciter window ", windowCreationErr.Error())
}

window.LoadFile("1.html")

// Setting up stage for Harmony
window.SetTitle("Simple Input")
window.Show()
window.Run()

}

`

SetDLL invalid

How to specify the path of DLL, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant