From: Me on
Flow control is hardware but VCTern won't transmit a NULL 0x00 because it
uses it at a string terminator.


"Frank Hickman [MVP]" <fhickman_NOSP(a)M_noblesoft.com> wrote in message
news:eDVxIfxEFHA.1292(a)TK2MSFTNGP10.phx.gbl...
> "Me" <me(a)right.her> wrote in message
> news:DzeQd.21963$ya6.13484(a)trndny01...
>>I checked on VTerm and found it is for text output only.
>> I need a serial component for Visual C++ to transmit and receive hex
>> bytes 0x00 thru 0xff.
>>
>
>
> You should be able to modify VCTerm to use hardware flow control as some
> of the bytes could be interpreted as flow control bytes. The serial port
> must also be setup to use hardware flow control.
>
> --
> ============
> Frank Hickman
> Microsoft MVP
> NobleSoft, Inc.
> ============
> Replace the _nosp(a)m_ with @ to reply.
>
>
>


From: Me on
What I am having trouble with is this "Variant" ???
Any examples of using with Visual C++ would be appreciated.


"Me" <me(a)right.her> wrote in message news:n1nQd.15146$sR5.6348(a)trndny05...
> Flow control is hardware but VCTern won't transmit a NULL 0x00 because it
> uses it at a string terminator.
>
>
> "Frank Hickman [MVP]" <fhickman_NOSP(a)M_noblesoft.com> wrote in message
> news:eDVxIfxEFHA.1292(a)TK2MSFTNGP10.phx.gbl...
>> "Me" <me(a)right.her> wrote in message
>> news:DzeQd.21963$ya6.13484(a)trndny01...
>>>I checked on VTerm and found it is for text output only.
>>> I need a serial component for Visual C++ to transmit and receive hex
>>> bytes 0x00 thru 0xff.
>>>
>>
>>
>> You should be able to modify VCTerm to use hardware flow control as some
>> of the bytes could be interpreted as flow control bytes. The serial port
>> must also be setup to use hardware flow control.
>>
>> --
>> ============
>> Frank Hickman
>> Microsoft MVP
>> NobleSoft, Inc.
>> ============
>> Replace the _nosp(a)m_ with @ to reply.
>>
>>
>>
>
>


From: Joseph M. Newcomer on
My first inclination would be to ignore the existence of MSComm. Just open the serial port
asynchronously and do WriteFile operations.
joe

On Mon, 14 Feb 2005 22:23:04 GMT, "Me" <me(a)right.her> wrote:

>Anyone know how I can send true hex bytes out com1 using MFC MSComm???
>Please post examples.
>

Joseph M. Newcomer [MVP]
email: newcomer(a)flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Arlis Rose on
Hey Me? :) Perhaps this will help, it's a tutorial for C# but talks about
sending and receiving the null byte (and it's says it uses McComm.ocx) so
hopefully it's what you are looking for.
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=320

"Me" <me(a)right.her> wrote in message news:cx9Qd.21476$ya6.5062(a)trndny01...
> Anyone know how I can send true hex bytes out com1 using MFC MSComm???
> Please post examples.
>


From: Me on
Your idea doesnt work with WindowsXP
I used it with Win98 with no probs.

"Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in message
news:mgh4119ckdq08m8f3n89t3g54u80innh7k(a)4ax.com...
> My first inclination would be to ignore the existence of MSComm. Just open
> the serial port
> asynchronously and do WriteFile operations.
> joe
>
> On Mon, 14 Feb 2005 22:23:04 GMT, "Me" <me(a)right.her> wrote:
>
>>Anyone know how I can send true hex bytes out com1 using MFC MSComm???
>>Please post examples.
>>
>
> Joseph M. Newcomer [MVP]
> email: newcomer(a)flounder.com
> Web: http://www.flounder.com
> MVP Tips: http://www.flounder.com/mvp_tips.htm