Click here to Skip to main content
15,920,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWriteFile = slow; fwrite = fast; me = sad; Pin
Chris Losinger26-Dec-02 12:57
professionalChris Losinger26-Dec-02 12:57 
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 
I've looked in the VC++ fopen docs and can't see anything about each CRT instance getting it's own table. Looking at the CRT code it uses _malloc_crt() to allocate a stream object.

I don't understand why you would be using the file handle anyway. Surely you just pass the FILE* back to some DLL function to read/write. And if the CRT is in a DLL why is their another "handle table" in the .EXE.

Have you actually proved there is a problem with fopen et.all.?

Neville Franks, Author of ED for Windows. www.getsoft.com
Make money with our new Affilate program
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 
GeneralRe: LIB from DLL Pin
Neville Franks26-Dec-02 13:06
Neville Franks26-Dec-02 13:06 
GeneralRe: LIB from DLL Pin
Hockey26-Dec-02 17:35
Hockey26-Dec-02 17:35 
GeneralRe: LIB from DLL Pin
Neville Franks26-Dec-02 18:51
Neville Franks26-Dec-02 18:51 
GeneralRe: LIB from DLL Pin
Chris Losinger26-Dec-02 15:15
professionalChris Losinger26-Dec-02 15:15 
GeneralRe: LIB from DLL Pin
Hockey26-Dec-02 17:37
Hockey26-Dec-02 17:37 
GeneralRe: LIB from DLL Pin
Mike Nordell27-Dec-02 1:25
Mike Nordell27-Dec-02 1:25 
Generalthree views + three opengl windows + crashes when fullscreen Pin
bbbilen26-Dec-02 9:54
bbbilen26-Dec-02 9:54 

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.