Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About image of drag&drop. Pin
KaЯl26-Dec-02 23:41
KaЯl26-Dec-02 23:41 
QuestionHow to dynamically change media type with YV12 format frames in DirectShow? Pin
Bert_Chen26-Dec-02 15:02
Bert_Chen26-Dec-02 15:02 
Generalproblem using tab control Pin
Member 11729326-Dec-02 13:08
Member 11729326-Dec-02 13:08 
GeneralRe: problem using tab control Pin
Dor26-Dec-02 15:32
Dor26-Dec-02 15:32 
GeneralRe: problem using tab control Pin
Member 11729327-Dec-02 5:21
Member 11729327-Dec-02 5:21 
GeneralRe: problem using tab control Pin
Dor27-Dec-02 11:47
Dor27-Dec-02 11:47 
GeneralRe: problem using tab control Pin
Mangesh Sardesai26-Dec-02 21:56
Mangesh Sardesai26-Dec-02 21:56 
GeneralWriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 12:57
professionalChris Losinger26-Dec-02 12:57 
fwrite, fread and friends are easily many times faster than WriteFile, ReadFile and friends, when doing lots of small reads and writes. this means my program is many times slower than it used to be.

are there any ways to improve the performance of the Win32 I/O operations when doing lots of little reads/writes? (no, rewriting the code that does these reads/writes is not an option (LibTiff, LibPNG, JpegLib, etc).

fyi, here's my open-for-read:

fileHandle = CreateFile(pFileName, GENERIC_READ, FILE_SHARE_READ, 
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);


-c



I'm not the droid you're looking for.

GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Neville Franks26-Dec-02 13:13
Neville Franks26-Dec-02 13:13 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 13:30
professionalChris Losinger26-Dec-02 13:30 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Neville Franks26-Dec-02 13:46
Neville Franks26-Dec-02 13:46 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 13:50
professionalChris Losinger26-Dec-02 13:50 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Neville Franks26-Dec-02 13:57
Neville Franks26-Dec-02 13:57 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 14:16
professionalChris Losinger26-Dec-02 14:16 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Neville Franks26-Dec-02 14:39
Neville Franks26-Dec-02 14:39 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 15:13
professionalChris Losinger26-Dec-02 15:13 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Neville Franks26-Dec-02 15:50
Neville Franks26-Dec-02 15:50 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Matt Gullett26-Dec-02 15:49
Matt Gullett26-Dec-02 15:49 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 19:00
professionalChris Losinger26-Dec-02 19:00 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Michael Dunn26-Dec-02 18:52
sitebuilderMichael Dunn26-Dec-02 18:52 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 18:59
professionalChris Losinger26-Dec-02 18:59 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Mike Nordell27-Dec-02 1:22
Mike Nordell27-Dec-02 1:22 
GeneralRe: WriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger27-Dec-02 6:27
professionalChris Losinger27-Dec-02 6:27 
GeneralControls on an MDI App Pin
Steven M Hunt26-Dec-02 11:51
Steven M Hunt26-Dec-02 11:51 
GeneralLIB from DLL Pin
Hockey26-Dec-02 11:30
Hockey26-Dec-02 11:30 

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.