Connecting Tech Pros Worldwide Forums | Help | Site Map

MFC application using COM port for serial communication stops on minimization

karpagam.c@gmail.com
Guest
 
Posts: n/a
#1: Aug 12 '05
Hi,

I'm working on a MFC application that is used to write application code
to FLASH memory of a device. I'm using COM port for the communication
with the device. For reading from and writing to the COM port, separate
threads (along with semaphores) are being used. This application works
fine if it is not minimized. But once if the application is minimized,
it gives an error because some data is being missed out during
communication with the device. Has anybody faced the same problem....??
Can anybody help me out with this problem.

Thanks,
-KC


John Ratliff
Guest
 
Posts: n/a
#2: Aug 12 '05

re: MFC application using COM port for serial communication stops on minimization


karpagam.c@gmail.com wrote:[color=blue]
> Hi,
>
> I'm working on a MFC application that is used to write application code
> to FLASH memory of a device. I'm using COM port for the communication
> with the device. For reading from and writing to the COM port, separate
> threads (along with semaphores) are being used. This application works
> fine if it is not minimized. But once if the application is minimized,
> it gives an error because some data is being missed out during
> communication with the device. Has anybody faced the same problem....??
> Can anybody help me out with this problem.
>
> Thanks,
> -KC
>[/color]

You would probably find people more suited to answer your question in
one of the microsoft.public.xxx newsgroups. Maybe there is a specific
one for MFC.

--John Ratliff
Closed Thread