Click here to Skip to main content
15,880,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Partial Specialization of Templated Class Member Function Pin
Stuart Dootson6-May-09 2:14
professionalStuart Dootson6-May-09 2:14 
QuestionOpening a Visual Studio .NET application in Visual Studio C++ Pin
SivaGK5-May-09 19:26
SivaGK5-May-09 19:26 
AnswerRe: Opening a Visual Studio .NET application in Visual Studio C++ Pin
«_Superman_»5-May-09 19:29
professional«_Superman_»5-May-09 19:29 
AnswerRe: Opening a Visual Studio .NET application in Visual Studio C++ Pin
_AnsHUMAN_ 5-May-09 19:47
_AnsHUMAN_ 5-May-09 19:47 
QuestionOne doubt Pin
Deepu Antony5-May-09 19:12
Deepu Antony5-May-09 19:12 
AnswerRe: One doubt Pin
«_Superman_»5-May-09 19:27
professional«_Superman_»5-May-09 19:27 
GeneralRe: One doubt Pin
Deepu Antony5-May-09 19:47
Deepu Antony5-May-09 19:47 
GeneralRe: One doubt Pin
«_Superman_»5-May-09 19:53
professional«_Superman_»5-May-09 19:53 
Open the port with the overlapped flag.
CreateFile(_T("COM1"), GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0);

Post the asynchronous read.
OVERLAPPED over = { 0 };
over.hEvent = ::CreateEvent(0, 0, 0, 0);
DWORD dwRead = 0;
ReadFile(m_hPort, buffer, len, &dwRead, &over);

Wait on the event for 3 seconds.
if (WAIT_OBJECT_0 != WaitForSingleObject(over.hEvent, 3000))
    return;
GetOverlappedResult(m_hPort, &over, &dwReade, 0);


«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: One doubt Pin
Deepu Antony5-May-09 20:11
Deepu Antony5-May-09 20:11 
AnswerRe: One doubt Pin
Taran95-May-09 21:35
Taran95-May-09 21:35 
AnswerRe: One doubt Pin
KarstenK5-May-09 23:16
mveKarstenK5-May-09 23:16 
AnswerRe: One doubt Pin
Stuart Dootson6-May-09 2:16
professionalStuart Dootson6-May-09 2:16 
AnswerRe: One doubt Pin
David Crow6-May-09 3:15
David Crow6-May-09 3:15 
Questionin CExplorer1 class, how to post your form data to the server,as login data. Pin
cwj_5-May-09 16:20
cwj_5-May-09 16:20 
AnswerRe: in CExplorer1 class, how to post your form data to the server,as login data. Pin
Madhu Nair5-May-09 18:59
Madhu Nair5-May-09 18:59 
QuestionWhen IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 13:28
ForNow5-May-09 13:28 
AnswerRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
Stuart Dootson5-May-09 14:41
professionalStuart Dootson5-May-09 14:41 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 14:51
ForNow5-May-09 14:51 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
Stuart Dootson5-May-09 15:14
professionalStuart Dootson5-May-09 15:14 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 15:20
ForNow5-May-09 15:20 
AnswerRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
Randor 5-May-09 16:17
professional Randor 5-May-09 16:17 
QuestionRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
David Crow5-May-09 16:34
David Crow5-May-09 16:34 
AnswerRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow5-May-09 16:59
ForNow5-May-09 16:59 
GeneralRe: When IS CFont create for the Bottomless CRichEdit ???? Pin
ForNow6-May-09 4:42
ForNow6-May-09 4:42 
Questioncan VC++ 6.0 talk with SharePoint Server Pin
s33335-May-09 10:24
s33335-May-09 10:24 

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.