Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Implemeting C++ code into a C project Pin
ForNow25-Jun-07 12:04
ForNow25-Jun-07 12:04 
GeneralRe: Implemeting C++ code into a C project Pin
ForNow25-Jun-07 12:45
ForNow25-Jun-07 12:45 
AnswerRe: Implemeting C++ code into a C project Pin
Orhun Birsoy25-Jun-07 5:33
Orhun Birsoy25-Jun-07 5:33 
GeneralRe: Implemeting C++ code into a C project Pin
ForNow25-Jun-07 12:28
ForNow25-Jun-07 12:28 
GeneralRe: Implemeting C++ code into a C project Pin
Orhun Birsoy25-Jun-07 12:52
Orhun Birsoy25-Jun-07 12:52 
GeneralRe: Implemeting C++ code into a C project Pin
ForNow25-Jun-07 23:39
ForNow25-Jun-07 23:39 
Questionneed help with port reading! Pin
Leo_133125-Jun-07 0:31
Leo_133125-Jun-07 0:31 
AnswerRe: need help with port reading! Pin
CPallini25-Jun-07 0:42
mveCPallini25-Jun-07 0:42 
A few remarks:
(1) Why are you setting to zero all the reading timeout values?
(2) In WriteFile you're not sending the carriage return (\r), since you specified only two bytes to send.
(3) You are not checking neither the ReadFile return value nor how many bytes you obtained (i.e. the iBytesReas value, of course you have to check this only when ReadFile returns a nonzero value).

Hope that helps
Smile | :)


If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

AnswerRe: need help with port reading! Pin
Roger Stoltz25-Jun-07 0:49
Roger Stoltz25-Jun-07 0:49 
GeneralRe: need help with port reading! Pin
Leo_133126-Jun-07 7:31
Leo_133126-Jun-07 7:31 
GeneralRe: need help with port reading! Pin
flippydeflippydebop26-Jun-07 12:47
flippydeflippydebop26-Jun-07 12:47 
QuestionAn error occur when accessing the file Pin
Y_Kaushik25-Jun-07 0:27
Y_Kaushik25-Jun-07 0:27 
AnswerRe: An error occur when accessing the file Pin
Hamid_RT25-Jun-07 0:53
Hamid_RT25-Jun-07 0:53 
GeneralRe: An error occur when accessing the file Pin
Y_Kaushik25-Jun-07 0:58
Y_Kaushik25-Jun-07 0:58 
GeneralRe: An error occur when accessing the file Pin
Y_Kaushik25-Jun-07 1:10
Y_Kaushik25-Jun-07 1:10 
AnswerRe: An error occur when accessing the file Pin
Rajkumar R25-Jun-07 1:16
Rajkumar R25-Jun-07 1:16 
Questioncontact to Microsoft SQL server Pin
includeh1025-Jun-07 0:26
includeh1025-Jun-07 0:26 
AnswerRe: contact to Microsoft SQL server Pin
Hamid_RT25-Jun-07 0:47
Hamid_RT25-Jun-07 0:47 
GeneralRe: contact to Microsoft SQL server Pin
includeh1025-Jun-07 2:20
includeh1025-Jun-07 2:20 
GeneralRe: contact to Microsoft SQL server Pin
Hamid_RT25-Jun-07 5:31
Hamid_RT25-Jun-07 5:31 
QuestionHow to change color of menu-bar? Pin
includeh1025-Jun-07 0:04
includeh1025-Jun-07 0:04 
QuestionInvisitasking Pin
kenhty24-Jun-07 23:53
kenhty24-Jun-07 23:53 
QuestionDebug Error!!!! Pin
James_Programmer24-Jun-07 23:53
James_Programmer24-Jun-07 23:53 
AnswerRe: Debug Error!!!! Pin
Programm3r25-Jun-07 0:22
Programm3r25-Jun-07 0:22 
QuestionPlease give me solution for this Memory leakage problem Pin
James_Programmer24-Jun-07 23:37
James_Programmer24-Jun-07 23:37 

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.