Re: [go-nuts] Re: Syscall trouble with parameter handling

2017-02-22 Thread snmed
Hi Konstantin Thanks a lot for your input. You were right about the second parameter and the call to ColInitalize, so now i'm a bit further but still get an error. I will have a closer look on that error and hope i find a solution for it. Cheers snmed Am Mittwoch, 22. Februar 2017 11:58:35

[go-nuts] Re: Syscall trouble with parameter handling

2017-02-22 Thread snmed
Okay thanks anyway Am Mittwoch, 22. Februar 2017 11:51:45 UTC+1 schrieb brainman: > > > Has anyone a hint, what i'm doing wrong with the Call arguments? > > I do not know. Sorry. > > > I think the last parameter is the problematic one, ... > > It looks fine to me. > > Alex > -- You received

Re: [go-nuts] Re: Syscall trouble with parameter handling

2017-02-22 Thread Konstantin Khomoutov
On Tue, 21 Feb 2017 22:55:18 -0800 (PST) snmed wrote: > Has anyone a hint, what i'm doing wrong with the Call arguments? I > think the last parameter is the problematic one, but i can't figure > out how to pass that argument. A couple of ideas: * [1] Features a

[go-nuts] Re: Syscall trouble with parameter handling

2017-02-22 Thread brainman
> Has anyone a hint, what i'm doing wrong with the Call arguments? I do not know. Sorry. > I think the last parameter is the problematic one, ... It looks fine to me. Alex -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

[go-nuts] Re: Syscall trouble with parameter handling

2017-02-21 Thread snmed
Has anyone a hint, what i'm doing wrong with the Call arguments? I think the last parameter is the problematic one, but i can't figure out how to pass that argument. Any help would be most appreciated! Cheers snmed Am Dienstag, 21. Februar 2017 10:36:29 UTC+1 schrieb snmed: > > Hi all > > I

[go-nuts] Re: Syscall trouble with parameter handling

2017-02-21 Thread snmed
okay it says "E_INVALIDARGOne or more arguments are not valid 0x80070057", but what i am doing wrong with the parameters? Am Dienstag, 21. Februar 2017 12:01:47 UTC+1 schrieb snmed: > > Ohh strange i missed that, i thought it's S_OK because the error stated > "The operation completed

[go-nuts] Re: Syscall trouble with parameter handling

2017-02-21 Thread snmed
Ohh strange i missed that, i thought it's S_OK because the error stated "The operation completed successfully". So i need to find out why it is failling, do you have any idea about the reason? Cheers snmed Am Dienstag, 21. Februar 2017 11:16:08 UTC+1 schrieb brainman: > > According to the

[go-nuts] Re: Syscall trouble with parameter handling

2017-02-21 Thread brainman
According to the doco https://msdn.microsoft.com/en-us/library/windows/desktop/dn889862(v=vs.85).aspx ``` Return value If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. ``` Your call returns 2147942487, and it is not S_OK. It must be the error code. You