Click here to Skip to main content
15,906,625 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRead and Write Raw Sectors Pin
Jeffrey Walton16-Oct-07 19:59
Jeffrey Walton16-Oct-07 19:59 
AnswerRe: Read and Write Raw Sectors Pin
Jeffrey Walton16-Oct-07 20:41
Jeffrey Walton16-Oct-07 20:41 
QuestionGetting the length of a string of a buffer Pin
steve_rm16-Oct-07 19:55
steve_rm16-Oct-07 19:55 
AnswerRe: Getting the length of a string of a buffer Pin
Jeffrey Walton16-Oct-07 20:03
Jeffrey Walton16-Oct-07 20:03 
AnswerRe: Getting the length of a string of a buffer Pin
Roger Broomfield16-Oct-07 20:23
Roger Broomfield16-Oct-07 20:23 
GeneralRe: Getting the length of a string of a buffer Pin
steve_rm16-Oct-07 21:30
steve_rm16-Oct-07 21:30 
GeneralRe: Getting the length of a string of a buffer Pin
David Crow17-Oct-07 3:03
David Crow17-Oct-07 3:03 
AnswerRe: Getting the length of a string of a buffer Pin
chandu00416-Oct-07 20:52
chandu00416-Oct-07 20:52 
what roger has suggested is good.
but i think, your receive function should return, the number of bytes actually read.
so based on that number, you can cut your string to that many number of bytes.
im not sure but just try it out.
GeneralRe: Getting the length of a string of a buffer Pin
Jeffrey Walton16-Oct-07 21:22
Jeffrey Walton16-Oct-07 21:22 
GeneralRe: Getting the length of a string of a buffer Pin
chandu00416-Oct-07 21:54
chandu00416-Oct-07 21:54 
GeneralRe: Getting the length of a string of a buffer Pin
Jeffrey Walton16-Oct-07 21:59
Jeffrey Walton16-Oct-07 21:59 
QuestionResizing child windows Pin
kk.tvm16-Oct-07 19:51
kk.tvm16-Oct-07 19:51 
AnswerRe: Resizing child windows Pin
Nibu babu thomas16-Oct-07 20:05
Nibu babu thomas16-Oct-07 20:05 
AnswerRe: Resizing child windows Pin
Hamid_RT16-Oct-07 21:03
Hamid_RT16-Oct-07 21:03 
QuestionRe: Resizing child windows Pin
David Crow17-Oct-07 2:53
David Crow17-Oct-07 2:53 
AnswerRe: Resizing child windows Pin
Iain Clarke, Warrior Programmer17-Oct-07 2:59
Iain Clarke, Warrior Programmer17-Oct-07 2:59 
QuestionTimer in SDI application Pin
neha.agarwal2716-Oct-07 19:30
neha.agarwal2716-Oct-07 19:30 
AnswerRe: Timer in SDI application Pin
_AnsHUMAN_ 16-Oct-07 19:44
_AnsHUMAN_ 16-Oct-07 19:44 
AnswerRe: Timer in SDI application Pin
Hamid_RT16-Oct-07 21:04
Hamid_RT16-Oct-07 21:04 
Questionhow to recover c++ files Pin
rjkg16-Oct-07 19:05
rjkg16-Oct-07 19:05 
AnswerRe: how to recover c++ files Pin
Paresh Chitte16-Oct-07 19:15
Paresh Chitte16-Oct-07 19:15 
AnswerRe: how to recover c++ files Pin
Hamid_RT16-Oct-07 19:16
Hamid_RT16-Oct-07 19:16 
GeneralRe: how to recover c++ files Pin
rjkg16-Oct-07 19:43
rjkg16-Oct-07 19:43 
GeneralRe: how to recover c++ files Pin
Paresh Chitte16-Oct-07 20:14
Paresh Chitte16-Oct-07 20:14 
GeneralRe: how to recover c++ files Pin
rjkg16-Oct-07 20:36
rjkg16-Oct-07 20:36 

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.