Re: [go-nuts] Caling windows DLL func from go :: parameter is incorrect

2018-08-06 Thread Oryan Moshe
y dll exported func signature is > > HANDLE Open(const char *filter,DIVERT_LAYER layer, > INT16 priority, UINT64 flags) > > > -SIGTERM > amit > > Humanity's first sin was faith, Its first virtue doubt > On Mon, Aug 6, 2018 at 8:49 AM Oryan Moshe > wrote

Re: [go-nuts] Caling windows DLL func from go :: parameter is incorrect

2018-08-06 Thread Oryan Moshe
t; > Regards > > Amit > > > > > > On Saturday, August 4, 2018 at 10:53:40 AM UTC-7, Oryan Moshe wrote: > >> > >> Seems to me like type issues as well, doesn't seem like it for winapi > to receive int16. > >> > >> On Sat, Aug

Re: [go-nuts] Caling windows DLL func from go :: parameter is incorrect

2018-08-04 Thread Oryan Moshe
Seems to me like type issues as well, doesn't seem like it for winapi to receive int16. On Sat, Aug 4, 2018, 07:18 wrote: > I am trying to call a DLL from go and I get an error "The parameter is > incorrect" error when I try to call this function > > HANDLE Myopen(const char *filter, LAYER laye