Accessing COM ports in Win32

  • Thread starter Oraklet på første
  • Start date
O

Oraklet på første

Hi NG!

I'm in a desperate need to use an ordinary COM-port! Limitted time (has to
be finished the 5. of november)
I had some code, but i just messed my workspace up! So I'm quite lost here,
please help !

I truly hope that some of You can and will help me out on this issue.

My problem consists of 3 parts:
1) Configureing the COM port!
2) Send a byte or collection of bytes (string)
3) Recieve a byte or collection of bytes (string)

It has to be simple. no handshake or flow control.
something like this: 19200 Baud, 8 bits, No parity, 1 stop (19200,8,N,1)

FYI!
I'm programming in Microsofts Visual C++ v.6

I have been looking on the Internet after some guidelines on how to use the
COM thing under Windows XP

But all of what I have found so far, is not that easy to use as I had hoped
for!

Should anyone have a source example that works I will be glad !

Kind Regards and best wishes

Carsten Holm

(e-mail address removed)
 
V

Victor Bazarov

Oraklet said:
I'm in a desperate need to use an ordinary COM-port! [...]

If you're desperate, posting to a newsgroup where it's off-topic
only delays you. Go, no, run, to comp.os.ms-windows.programmer!
 
M

Mike Wahler

Victor Bazarov said:
Oraklet said:
I'm in a desperate need to use an ordinary COM-port! [...]

If you're desperate, posting to a newsgroup where it's off-topic
only delays you. Go, no, run, to comp.os.ms-windows.programmer!

comp.os.ms-windows.programmer.win32

-Mike
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top