Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VS2008 conversion problem with CFileDialog Pin
«_Superman_»18-Aug-09 20:42
professional«_Superman_»18-Aug-09 20:42 
GeneralRe: VS2008 conversion problem with CFileDialog Pin
KASR118-Aug-09 20:45
KASR118-Aug-09 20:45 
AnswerRe: VS2008 conversion problem with CFileDialog Pin
Mr. Doctor6-Oct-09 3:55
Mr. Doctor6-Oct-09 3:55 
GeneralRe: VS2008 conversion problem with CFileDialog Pin
KASR16-Oct-09 18:54
KASR16-Oct-09 18:54 
QuestionBulk insertion into SQL Server 2005 using variables. Pin
Deepu Antony18-Aug-09 17:56
Deepu Antony18-Aug-09 17:56 
AnswerRe: Bulk insertion into SQL Server 2005 using variables. Pin
sashoalm18-Aug-09 21:53
sashoalm18-Aug-09 21:53 
AnswerRe: Bulk insertion into SQL Server 2005 using variables. Pin
zhu_lin23-Aug-09 22:33
zhu_lin23-Aug-09 22:33 
QuestionCStdioFile file size limit Pin
Bill Heitler18-Aug-09 11:31
Bill Heitler18-Aug-09 11:31 
Hi there
I have just discovered that CStdioFile does not "work correctly" with files bigger than 2^32 bytes. Everything works fine in my program using CStdioFile, until the file size gets up to the limit. (Opening the large file with CFile and doing GetLength() gives the correct value, doing the same with CStdioFile gives garbage, and Seeks to the end crash out with a bad seek exception.) The MSDN site where I discovered this limit says "use CFile" instead. However, CFile is unbuffered, and I need to do quite a bit of skipping around with small reads and writes. I was only using CStdioFile because of its buffering - I'm reading/writing binary data.
Short of writing my own buffer, any ideas? Is there likely to be a big performance hit if I just use CFile instead? Would you advise using CArchive (which I believe is buffered), or is the overhead not worth it?
Thanks for any ideas.
Bill H
AnswerRe: CStdioFile file size limit Pin
«_Superman_»18-Aug-09 20:49
professional«_Superman_»18-Aug-09 20:49 
AnswerRe: CStdioFile file size limit Pin
Joe Woodbury19-Aug-09 6:41
professionalJoe Woodbury19-Aug-09 6:41 
GeneralRe: CStdioFile file size limit Pin
Bill Heitler20-Aug-09 4:17
Bill Heitler20-Aug-09 4:17 
Questionfor loop pause resume Pin
RaymondM18-Aug-09 10:56
RaymondM18-Aug-09 10:56 
AnswerRe: for loop pause resume Pin
Nemanja Trifunovic18-Aug-09 11:06
Nemanja Trifunovic18-Aug-09 11:06 
GeneralRe: for loop pause resume Pin
RaymondM18-Aug-09 11:22
RaymondM18-Aug-09 11:22 
AnswerRe: for loop pause resume Pin
Joe Woodbury18-Aug-09 11:13
professionalJoe Woodbury18-Aug-09 11:13 
GeneralRe: for loop pause resume Pin
RaymondM18-Aug-09 11:24
RaymondM18-Aug-09 11:24 
GeneralRe: for loop pause resume Pin
Joe Woodbury18-Aug-09 11:26
professionalJoe Woodbury18-Aug-09 11:26 
GeneralRe: for loop pause resume Pin
RaymondM23-Aug-09 7:27
RaymondM23-Aug-09 7:27 
GeneralRe: for loop pause resume Pin
Joe Woodbury23-Aug-09 8:34
professionalJoe Woodbury23-Aug-09 8:34 
QuestionPreventing a child window to change its z-order? Pin
Don Rolando18-Aug-09 10:39
Don Rolando18-Aug-09 10:39 
AnswerRe: Preventing a child window to change its z-order? Pin
Baltoro18-Aug-09 14:37
Baltoro18-Aug-09 14:37 
Questionboost bind expression not doing what I expect Pin
Stone Free18-Aug-09 8:17
Stone Free18-Aug-09 8:17 
Question.Net and unmanaged C++ (executing thread & exception handling) Pin
Ahmed Charfeddine18-Aug-09 6:48
Ahmed Charfeddine18-Aug-09 6:48 
AnswerRe: .Net and unmanaged C++ (executing thread & exception handling) Pin
Joe Woodbury18-Aug-09 11:14
professionalJoe Woodbury18-Aug-09 11:14 
QuestionHow to enumerate remote socket ports Pin
MarkLTX18-Aug-09 6:26
MarkLTX18-Aug-09 6:26 

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.