Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: add with carry instruction on Pentium family Pin
the Seeker16-May-04 0:33
the Seeker16-May-04 0:33 
GeneralWriteFile help Pin
Ryan McDermott15-May-04 16:30
Ryan McDermott15-May-04 16:30 
GeneralRe: WriteFile help Pin
Michael Dunn15-May-04 17:45
sitebuilderMichael Dunn15-May-04 17:45 
GeneralRe: WriteFile help Pin
Ryan McDermott15-May-04 18:29
Ryan McDermott15-May-04 18:29 
GeneralRe: WriteFile help Pin
Michael Dunn15-May-04 18:38
sitebuilderMichael Dunn15-May-04 18:38 
GeneralRe: WriteFile help Pin
Ryan McDermott15-May-04 19:13
Ryan McDermott15-May-04 19:13 
GeneralRe: WriteFile help Pin
Monty215-May-04 20:24
Monty215-May-04 20:24 
GeneralRe: WriteFile help Pin
Garth J Lancaster16-May-04 1:34
professionalGarth J Lancaster16-May-04 1:34 
Ryan

1) I'd be a bit worried about the result if you used '10' as the size of the string as shown in your code ... you could crash the program, since you appear to be writing more characters than you have in the buffer ..

2) I'd use "test\0" to init the buffer and
3) strlen(buffer) as the 3rd argument for the WriteFile

'G'


Generalwoops Pin
Garth J Lancaster16-May-04 1:36
professionalGarth J Lancaster16-May-04 1:36 
GeneralMFC Dependancy written into EXE. Pin
N4X3M15-May-04 15:12
N4X3M15-May-04 15:12 
GeneralRe: MFC Dependancy written into EXE. Pin
TigerNinja_15-May-04 15:21
TigerNinja_15-May-04 15:21 
GeneralRe: MFC Dependancy written into EXE. Pin
N4X3M15-May-04 15:35
N4X3M15-May-04 15:35 
GeneralRe: MFC Dependancy written into EXE. Pin
TigerNinja_16-May-04 15:04
TigerNinja_16-May-04 15:04 
GeneralRe: MFC Dependancy written into EXE. Pin
Michael Dunn15-May-04 16:18
sitebuilderMichael Dunn15-May-04 16:18 
Generalabout using MSChart Pin
yingkou15-May-04 14:42
yingkou15-May-04 14:42 
GeneralGetting a pointer to a context menu Pin
srev15-May-04 13:11
srev15-May-04 13:11 
GeneralRe: Getting a pointer to a context menu Pin
valikac15-May-04 15:27
valikac15-May-04 15:27 
GeneralRe: Getting a pointer to a context menu Pin
srev16-May-04 7:37
srev16-May-04 7:37 
GeneralMapped Network drive (connect to it) Pin
scott987uk15-May-04 12:35
scott987uk15-May-04 12:35 
GeneralRe: Mapped Network drive (connect to it) Pin
valikac15-May-04 15:28
valikac15-May-04 15:28 
GeneralRe: Mapped Network drive (connect to it) Pin
scott987uk15-May-04 15:32
scott987uk15-May-04 15:32 
Generalalphabetize list box at run time Pin
Selevercin15-May-04 12:05
Selevercin15-May-04 12:05 
GeneralRe: alphabetize list box at run time Pin
valikac15-May-04 15:33
valikac15-May-04 15:33 
GeneralUnable to make a successfull CHttpFile.SendRequest() call Pin
Terry O'Nolley15-May-04 10:38
Terry O'Nolley15-May-04 10:38 
GeneralRe: Unable to make a successfull CHttpFile.SendRequest() call Pin
Hesham Amin15-May-04 20:33
Hesham Amin15-May-04 20:33 

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.