Re: problem with handing over pointers and generic invoke

Benjamin Sommerfeld <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
Morten Andersen wrote:

> Hi Benjamin
>
> Benjamin Sommerfeld wrote:
>
>>
>>
>> the problem is: i always get the wrong result for "bla". Maybe it's
>> because of the configuration code in "setChannelConfig" which i hand
>> over as a string?
>> In the documentation it is said, that I should use "0x00" in C for
>> setting +/-10V as Channel Configuration.
>
>
> Just a quick thought: According to your attached doc the
> P100X_SetChannelConfig-method should take two words as input. So I
> assume that when you say that the documentation says "0x00" (I assume in
> section 3.1?, which you have not attached), they mean the hex-value 0,
> and not the string "0x00". So have you tried
>        setChannelConfig.invoke_I(0, 0, ReturnFlags.CHECK_W32)
> instead?


i tried that, yeah.
and now it seems to work, i get the same values as in c++

thanks for your reply.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.