Click here to Skip to main content
15,887,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: UINT ThreadProc ( LPVOID param ) Pin
CPallini3-Aug-09 1:23
mveCPallini3-Aug-09 1:23 
GeneralRe: UINT ThreadProc ( LPVOID param ) Pin
susanne13-Aug-09 3:24
susanne13-Aug-09 3:24 
GeneralRe: UINT ThreadProc ( LPVOID param ) Pin
CPallini3-Aug-09 11:46
mveCPallini3-Aug-09 11:46 
QuestionRe: UINT ThreadProc ( LPVOID param ) Pin
David Crow3-Aug-09 3:55
David Crow3-Aug-09 3:55 
AnswerRe: UINT ThreadProc ( LPVOID param ) Pin
susanne13-Aug-09 5:23
susanne13-Aug-09 5:23 
QuestionRe: UINT ThreadProc ( LPVOID param ) Pin
David Crow3-Aug-09 5:26
David Crow3-Aug-09 5:26 
AnswerRe: UINT ThreadProc ( LPVOID param ) Pin
Michael Dunn3-Aug-09 9:48
sitebuilderMichael Dunn3-Aug-09 9:48 
QuestionNon Ovelapped Serial I/O Pin
sunny_vc2-Aug-09 23:37
sunny_vc2-Aug-09 23:37 
HI all,
I am working on Non Overlapped serial I/O application.
I have only one thread to receive the data.For send i dont have any thread.
I just call Write file when i need to send .

My problem is, When I have my receive thread wait for an event using WaitCommEvent, it ties up the serial port. Then my sending function can't access the port with WriteFile. I knew waiting for a comm event would block the receiving thread but didn't expect that it would block use of the port.

Any suggestions on how to do non-overlapped communication, where the send fucntion can write while the receive thread waits for a comm event?

Regards,
Sunil Kumar

AnswerRe: Non Ovelapped Serial I/O Pin
«_Superman_»2-Aug-09 23:54
professional«_Superman_»2-Aug-09 23:54 
GeneralRe: Non Ovelapped Serial I/O Pin
sunny_vc3-Aug-09 0:16
sunny_vc3-Aug-09 0:16 
GeneralRe: Non Ovelapped Serial I/O Pin
«_Superman_»3-Aug-09 0:21
professional«_Superman_»3-Aug-09 0:21 
GeneralRe: Non Ovelapped Serial I/O Pin
CPallini3-Aug-09 0:46
mveCPallini3-Aug-09 0:46 
GeneralRe: Non Ovelapped Serial I/O Pin
sunny_vc3-Aug-09 0:59
sunny_vc3-Aug-09 0:59 
GeneralRe: Non Ovelapped Serial I/O Pin
CPallini3-Aug-09 1:17
mveCPallini3-Aug-09 1:17 
GeneralRe: Non Ovelapped Serial I/O Pin
sunny_vc3-Aug-09 2:05
sunny_vc3-Aug-09 2:05 
QuestionRe: Non Ovelapped Serial I/O Pin
«_Superman_»3-Aug-09 2:35
professional«_Superman_»3-Aug-09 2:35 
GeneralRe: Non Ovelapped Serial I/O Pin
korvix3-Aug-09 15:42
korvix3-Aug-09 15:42 
QuestionRe: Non Ovelapped Serial I/O Pin
David Crow3-Aug-09 3:56
David Crow3-Aug-09 3:56 
AnswerRe: Non Overlapped Serial I/O Pin
sunny_vc3-Aug-09 4:53
sunny_vc3-Aug-09 4:53 
QuestionSobel - edge detection Pin
adichavan2-Aug-09 22:22
adichavan2-Aug-09 22:22 
AnswerRe: Sobel - edge detection Pin
HimanshuJoshi2-Aug-09 22:47
HimanshuJoshi2-Aug-09 22:47 
GeneralRe: Sobel - edge detection Pin
adichavan2-Aug-09 23:16
adichavan2-Aug-09 23:16 
GeneralRe: Sobel - edge detection PinPopular
Michael Schubert2-Aug-09 23:57
Michael Schubert2-Aug-09 23:57 
GeneralRe: Sobel - edge detection Pin
Chandrasekharan P3-Aug-09 0:05
Chandrasekharan P3-Aug-09 0:05 
GeneralRe: Sobel - edge detection Pin
adichavan3-Aug-09 1:39
adichavan3-Aug-09 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.