As a FYI for anyone else who may have this problem.
After doing some more reading/searching another solution is to not use cgo
at all.
By using syscall.NewLazyDLL and dynamically loading the function, then with
the loaded function just use func.Call(). This completely skips cgo and
thus all t
On Tuesday, 29 August 2017 18:21:58 UTC+1, Ian Lance Taylor wrote:
>
> On Tue, Aug 29, 2017 at 8:53 AM, Phil Noel > wrote:
> >
> > I believe the error is that _cgoCheckPointer is scanning the _cgo0
> variable
> > (ie c_msg, ie type *_Ctype_struct_tagMSG) an
Hello,
I've been coding up a Windows based application and hit a problem that I
sort of understand however not how to resolve.
The debug + panic is
TranslateMessage Msg: &win.Msg{Wnd:(win.HWnd)(0x5a0cdc), Message:0x113,
WParam:0x1, LParam:0, Time:0x28699637, Pt:win.Point{X:1174, Y:488}}
Transl