Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sequential file access R/W Pin
Michael Dunn21-Apr-05 5:26
sitebuilderMichael Dunn21-Apr-05 5:26 
GeneralRe: Sequential file access R/W Pin
Raphael Kindt21-Apr-05 5:50
Raphael Kindt21-Apr-05 5:50 
GeneralDrag and Drop Target Path Pin
21-Apr-05 4:46
suss21-Apr-05 4:46 
AnswerRe: Drag and Drop Target Path Pin
killer_li29-Apr-10 18:24
killer_li29-Apr-10 18:24 
GeneralStrange problem with Release mode.Plz help me out Pin
prgr21-Apr-05 4:33
prgr21-Apr-05 4:33 
GeneralRe: Strange problem with Release mode.Plz help me out Pin
James R. Twine21-Apr-05 5:35
James R. Twine21-Apr-05 5:35 
GeneralRe: Strange problem with Release mode.Plz help me out Pin
prgr21-Apr-05 22:14
prgr21-Apr-05 22:14 
GeneralRe: Strange problem with Release mode.Plz help me out Pin
James R. Twine22-Apr-05 6:16
James R. Twine22-Apr-05 6:16 
   Anytime you are handling a non-const pointer to something, you are likely dealing with a buffer (or buffers).  This even goes for pointers to native types like longs, where the address of a long variable is basically a pointer to its internal storage (AKA, a buffer).  Thing of dereferencing as a way of getting you "indirect access" to the internal storage via the type's native capabilities.

   Giving it a count of zero and not getting a problem makes it sound more a buffer-handling problem; I take it that if you pass zero, no real activity takes place in the function, so nothing really gets written to any buffers.  No writes, no buffer overrun or underruns.

   How is the char*** parameter handled in the function?  I would start with making sure that parameter is both being created correctly before being passed in to the function, and making sure that the function is handling it correctly.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: Strange problem with Release mode.Plz help me out Pin
prgr24-Apr-05 22:38
prgr24-Apr-05 22:38 
GeneralRe: Strange problem with Release mode.Plz help me out Pin
David Crow21-Apr-05 10:45
David Crow21-Apr-05 10:45 
GeneralIStream from a file Pin
Mathias S.21-Apr-05 3:53
Mathias S.21-Apr-05 3:53 
GeneralRe: IStream from a file Pin
James R. Twine21-Apr-05 4:15
James R. Twine21-Apr-05 4:15 
GeneralRe: IStream from a file Pin
Mathias S.21-Apr-05 4:23
Mathias S.21-Apr-05 4:23 
GeneralRe: IStream from a file Pin
James R. Twine21-Apr-05 5:39
James R. Twine21-Apr-05 5:39 
GeneralDate and Timer picker control 6.0 Pin
Anonymous21-Apr-05 3:52
Anonymous21-Apr-05 3:52 
GeneralCDO programming (outlook and exchange server) Pin
ThinkingPrometheus21-Apr-05 3:43
ThinkingPrometheus21-Apr-05 3:43 
QuestionWindow inside other processes frame ? Pin
Member 165404021-Apr-05 2:47
Member 165404021-Apr-05 2:47 
GeneralPropertySheet inside ActiveX (Visual C++ 6.0) Pin
Felipe Decroaux21-Apr-05 2:30
Felipe Decroaux21-Apr-05 2:30 
GeneralStatic functions or Normal Functions Pin
ugur_basak21-Apr-05 2:03
ugur_basak21-Apr-05 2:03 
GeneralRe: Static functions or Normal Functions Pin
Cedric Moonen21-Apr-05 2:16
Cedric Moonen21-Apr-05 2:16 
GeneralRe: Static functions or Normal Functions Pin
ugur_basak21-Apr-05 2:30
ugur_basak21-Apr-05 2:30 
GeneralRe: Static functions or Normal Functions Pin
James R. Twine21-Apr-05 2:34
James R. Twine21-Apr-05 2:34 
GeneralRe: Static functions or Normal Functions Pin
ugur_basak21-Apr-05 2:39
ugur_basak21-Apr-05 2:39 
GeneralRe: Static functions or Normal Functions Pin
Tim Smith21-Apr-05 4:01
Tim Smith21-Apr-05 4:01 
GeneralRe: Static functions or Normal Functions Pin
David Crow21-Apr-05 4:04
David Crow21-Apr-05 4:04 

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.