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

C / C++ / MFC

 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
Rajesh R Subramanian18-Aug-09 21:44
professionalRajesh R Subramanian18-Aug-09 21:44 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
sashoalm18-Aug-09 21:49
sashoalm18-Aug-09 21:49 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
CPallini19-Aug-09 3:06
mveCPallini19-Aug-09 3:06 
Questiontypedef is not working properly.. Pin
Rakesh518-Aug-09 21:09
Rakesh518-Aug-09 21:09 
AnswerRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 21:39
mveKarstenK18-Aug-09 21:39 
GeneralRe: typedef is not working properly.. Pin
Rakesh518-Aug-09 22:44
Rakesh518-Aug-09 22:44 
GeneralRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 22:56
mveKarstenK18-Aug-09 22:56 
QuestionDetecting memory leak Pin
VCProgrammer18-Aug-09 19:28
VCProgrammer18-Aug-09 19:28 
AnswerRe: Detecting memory leak Pin
Cedric Moonen18-Aug-09 20:20
Cedric Moonen18-Aug-09 20:20 
AnswerRe: Detecting memory leak Pin
«_Superman_»18-Aug-09 20:35
professional«_Superman_»18-Aug-09 20:35 
AnswerRe: Detecting memory leak Pin
KarstenK18-Aug-09 21:41
mveKarstenK18-Aug-09 21:41 
QuestionHow to display the gridlines only for row in ClistCtrl? Pin
Gokul_md18-Aug-09 19:16
Gokul_md18-Aug-09 19:16 
AnswerRe: How to display the gridlines only for row in ClistCtrl? Pin
«_Superman_»18-Aug-09 20:34
professional«_Superman_»18-Aug-09 20:34 
QuestionIPictureDisp to byte array Pin
vibindia18-Aug-09 19:10
vibindia18-Aug-09 19:10 
AnswerRe: IPictureDisp to byte array Pin
«_Superman_»18-Aug-09 20:40
professional«_Superman_»18-Aug-09 20:40 
QuestionVS2008 conversion problem with CFileDialog [modified] Pin
KASR118-Aug-09 18:52
KASR118-Aug-09 18:52 
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 

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.