lxn / win

A Windows API wrapper package for the Go Programming Language
Other
1.19k stars 312 forks source link

accessibility API hard crashes on 32-bit #95

Closed zx2c4 closed 4 years ago

zx2c4 commented 4 years ago

Apparently this was never tested before merging.

    x, _ := walk.NewMainWindow()
    x.Accessibility().SetName("THIS IS A TEST TEST TEST")
    x.Show()
    x.Run()

This fails because syscall.Syscall9(obj.LpVtbl.SetHwndPropStr in this repo probably needs more arguments for the calling convention on 32-bit.

@rozmansi - please fix.