dxsoft
dxsoft
because there is no message loop,you can add message loop like this: ```go package main import ( "fmt" "github.com/suiyunonghen/GVCL/Components/DxControls/gminiblink" ) func main() { BlinkLib := gminiblink.BlinkLib BlinkLib.LoadBlink(`node.dll`) fmt.Println(BlinkLib.VersionString()) wv :=...
try ```go msg := new(WinApi.MSG) for{ if msg.PeekMessage(0, 0, 0, WinApi.PM_REMOVE) { if msg.Message == WinApi.WM_QUIT { break } msg.TranslateMessage() msg.DispatchMessage() }else{ WinApi.WaitMessage() } } ``` there is no problem...
the exit message,you can use spy++ to spy minblink inner close message proxy function you must to see miniblink's document,i'm only declare the function,but not try
> ```go > if msg.Message == WinApi.WM_QUIT || msg.Message == WinApi.WM_CLOSE || msg.Message == WinApi.WM_DESTROY { > break > } > ``` > > It doesn't work after closing the...
> 运行提示如下: > > panic: runtime error: invalid memory address or nil pointer dereference > [signal 0xc0000005 code=0x0 addr=0x20 pc=0x52a42c] > > goroutine 1 [running]: > github.com/suiyunonghen/GVCL/Components/Controls.(*WApplication).Run(0xc000148000) > D:/GO/GOPATH/src/github.com/suiyunonghen/GVCL/Components/Controls/Forms.go:154 +0xec...
Don't you think this function has poor performance? If we implement it this way, it doesn't make much sense. What we need is to know the Bytes capacity clearly and...