Re: Serial Communication in Visual C++



Ok, here's the whole function for initializing the comm port....

But that doesn't show where you write to the port at all. Do you write multiple times? Do you write a command and wait for a response? Are you writing commands based on a timer event? Mouse click? Button press? Other?

If the initialization takes a second or two, I don't see a problem with that. You only initialize once when you start your app up, right?

Eric
.