LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

viQueryf : how to ?

I would like to write my own function working like the viQueryf(io,cmdformat,answerformat,
...)
i tried to manage with :
va_start(va,cmdformat) then va point on the next parameter (answerformat)
and
va_start(va,answerformat) but the number of parameters of the cmdformat
will be lost.
How to manage the va_list ? (with cvi 5.5)

Thanks
Jacques
0 Kudos
Message 1 of 2
(4,239 Views)
Attached is slightly modified example from the VC++ 5.0 Help.
Just run the project.


Yuri Gendelman
YGENDELMAN@email.msn.com


Jacques Patry wrote in message
news:3981a9c5@newsgroups.ni.com...
>
> I would like to write my own function working like the
viQueryf(io,cmdformat,answerformat,
> ..)
> i tried to manage with :
> va_start(va,cmdformat) then va point on the next parameter
(answerformat)
> and
> va_start(va,answerformat) but the number of parameters of the cmdformat
> will be lost.
> How to manage the va_list ? (with cvi 5.5)
>
> Thanks
> Jacques









[Attachment vaTest.zip, see below]
0 Kudos
Message 2 of 2
(4,239 Views)