Hi Folks
Q1.
I am writing a program to controll a camera via serial port, the
camera sends respond for every command that it resives, I want to be
able to read them.

I am acctully planing to write a dummy camera program in an other
computer & hook the 2 commputers with a null-modem-cable...

How do I establesh this kind of comminication?

the camera is of typ canon vc-c4 .

Q2.
How do I open a socket communication.

Any example code will be very much appreciated.

Thanx in advance :)
Posted on 2003-04-08 07:24:37 by mistronr1
Moved from Algo & Source.
Posted on 2003-04-08 07:33:16 by bazik
Hi mistronr1

1. Set appropriat values to the DCB stucture
2. Set appropriat values to the COMMTIMEOUTS structure
3. Call API function CreateFile. Specially read the remarks about Communications.
4. Call API function ReadFile.

That's it, good luck
Posted on 2003-04-08 10:58:51 by minor28