SerialPort class code example

P

Peter Oliphant

On this MSDN2 webpage describing the Framework 2.0 SerialPort class:

http://msdn2.microsoft.com/en-us/library/30swa673(en-US,VS.80).aspx

there is the following text under 'Example':

"The following code example demonstrates the use of the SerialPort class to
allow two users to chat from two separate computers connected by a null
modem cable. In this example, the users are prompted for the port settings
and a username before chatting. Both computers must be executing the program
to achieve full functionality of this example. "

But there is no code listed. Is there a way of getting this code example, or
asking MS for it, or possibly 'unlock' something see it? It seems from the
description it probably does exist (otherwise why so much specific detail in
its description)? This code example would be very useful to me right now...
: )

If it matters my company has a very recent and full MSDN subscription...

[==P==]
 
T

Tomas Restrepo \(MVP\)

Peter,
On this MSDN2 webpage describing the Framework 2.0 SerialPort class:

http://msdn2.microsoft.com/en-us/library/30swa673(en-US,VS.80).aspx

there is the following text under 'Example':

"The following code example demonstrates the use of the SerialPort class
to allow two users to chat from two separate computers connected by a null
modem cable. In this example, the users are prompted for the port settings
and a username before chatting. Both computers must be executing the
program to achieve full functionality of this example. "

But there is no code listed. Is there a way of getting this code example,
or asking MS for it, or possibly 'unlock' something see it? It seems from
the description it probably does exist (otherwise why so much specific
detail in its description)? This code example would be very useful to me
right now... : )

It indeeds seem to be missing from the RTM documentation (even in the
library, not just online); I've written to the docs team to let them know of
the problem.

There is, however, a full sample here:
http://msdn2.microsoft.com/en-us/library/c8zc5kah.aspx (it's C# only, it
seems, unfortunately)
 
P

Peter Oliphant

Thanx, Tomas! I can get some ideas from the C# version what to do, and
conversion shouldn't be too tough. But if the docs people can put the C++
version up too that would be great! : )

[==P==]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top