>While I don’t know how to set the VARIANT variable to sent instruct
correctly
>to the device through COM by MSComm.SetInput(), and change the VARIANT
>variable get form the device by MSComm.GetOutput() correctly to the type I
>want. The instruct I want to send the device is a string including 4 BYTEs,
>and the data I get want to be changed into BYTE.
>I also want to know the usage of ColeSafeArray and why should make it equal
>to the VARIANT variable.

Take a look at COleSafeArray in the MSDN help system - there's plenty of
information - have a go at using it as described, and then if you have
problems with your code, come back to us with your own code samples so that
we know what you tried.

--
Jason Teagle
[EMAIL PROTECTED]



_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to