Re: Reference variables in jawin?

Jonas Lindén <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
Hello

> Hi Jonas
>
> Jonas Lindén wrote:
>
>> Hello, This is my first post to the list. Anyway I am a newbie in both
>> JINI and Jawin development so bare with me.
>
> Thats okay, I am not myself that much of a C/C++ hacker. So my question
> below may be dumb too :-)
>
great:)
>>
>> This is my problem. I would like to call a C++ method from Jawin which
>> uses a reference pointer. How can I handle such thing?
>>
>> This is how the C++ code looks like:
>> int cbAIn( int BoardNum, int Channel, int Range, unsigned short
>> *DataValue );
>>
>
> Is the "DataValue" parameter used for returning a short value? Or is it
> used for inputting a short array? So is it used as an [in] parameter or
> an [out] parameter.
>

The DataValue is used for returning a variable of type short.

> Best Regards
> Morten
>

/Jonas
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.