Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: detecting outgoing connections Pin
BaldwinMartin4-Dec-03 5:47
BaldwinMartin4-Dec-03 5:47 
GeneralQuestion about ShellExecute() Pin
KellyR4-Dec-03 4:49
KellyR4-Dec-03 4:49 
GeneralRe: Question about ShellExecute() Pin
BaldwinMartin4-Dec-03 5:14
BaldwinMartin4-Dec-03 5:14 
GeneralRe: Question about ShellExecute() Pin
KellyR4-Dec-03 5:38
KellyR4-Dec-03 5:38 
GeneralRe: Question about ShellExecute() Pin
BaldwinMartin4-Dec-03 5:42
BaldwinMartin4-Dec-03 5:42 
QuestionMemory or Disk? Pin
speedpacer4-Dec-03 4:33
speedpacer4-Dec-03 4:33 
AnswerRe: Memory or Disk? Pin
Daniel Turini4-Dec-03 5:08
Daniel Turini4-Dec-03 5:08 
AnswerRe: Memory or Disk? Pin
Joel Lucsy4-Dec-03 10:23
Joel Lucsy4-Dec-03 10:23 
WolfSupernova wrote:
After all and in most cases, we have Gig's worth of free and available disk space to work with and only a few hundred Meg's worth of memory

You may, I don't. Just like a gas, my file storage fills to all available space. I keep having to delete stuff so I can put new stuff on.

WolfSupernova wrote:
And does your file need to be temporary?

I sure hope so! I don't need tons of small files filling my temp directory! I hourly clean out my temp directory. The more files you have in a directory, the slower it is to locate them. Microsoft has a scheme whereby they break up the Temporary Internet Files in multiple directories and then have a file that it searches to find the actual file.

WolfSupernova wrote:
And finally, Microsoft itself uses temporary Internet files for caching information and they've developed both the Operating System and a pretty popular little web browser too, so maybe they know something we don't know?

Sure, like how to cache web files between computer reboots. If you're just going to show a file thats generated on the fly, why cache it? In fact, IE won't cache certain files that a website flags as being generated on the fly.

WolfSupernova wrote:
Firstly, most of the articles claim that there'd be a need to write temporary "files" (plural), which is a little misleading. If you can write your entire DHTML document to one "about:blank", then you should be able to write the same content to one "temp.htm".

So, you can write out all the images into the DHTML as well? That'd be a neat trick. And it'd bloat your html page too.

So, my opinion is, the amount of memory needed for small files to be placed into an IE window is small and insignificant and is best suited for storing in memory. IE probably won't cache it anyways if it's on the file system.

But don't get me wrong, it depends on what you're doing. Not all apps should keep everything in memory. I just feel that most of the apps write out a small amount of html anyways. I've found other solutions for displaying html, like QHTM, HtmlLayout, or PBears THtmlViewer.

YMMV, but mine is sticking to memory. A hard drive is for persistent data.

--
Joel Lucsy
Generaldesperation setting in Pin
Jason Henderson4-Dec-03 4:29
Jason Henderson4-Dec-03 4:29 
GeneralRe: desperation setting in Pin
Jason Henderson4-Dec-03 4:44
Jason Henderson4-Dec-03 4:44 
GeneralRe: desperation setting in Pin
Jim A. Johnson4-Dec-03 8:08
Jim A. Johnson4-Dec-03 8:08 
GeneralRe: desperation setting in Pin
BaldwinMartin4-Dec-03 5:17
BaldwinMartin4-Dec-03 5:17 
GeneralRe: desperation setting in Pin
Jim A. Johnson4-Dec-03 8:09
Jim A. Johnson4-Dec-03 8:09 
GeneralDll Pin
Bo Hunter4-Dec-03 4:15
Bo Hunter4-Dec-03 4:15 
GeneralRe: Dll Pin
valikac4-Dec-03 6:25
valikac4-Dec-03 6:25 
GeneralHelp me please!!! Deconvolution Pin
Angeluna4-Dec-03 3:57
sussAngeluna4-Dec-03 3:57 
GeneralRe: Help me please!!! Deconvolution Pin
BaldwinMartin4-Dec-03 5:44
BaldwinMartin4-Dec-03 5:44 
Generalbest place to delete "this" Pin
ns4-Dec-03 3:21
ns4-Dec-03 3:21 
GeneralRe: best place to delete "this" Pin
David Crow4-Dec-03 4:03
David Crow4-Dec-03 4:03 
GeneralRe: best place to delete "this" Pin
BaldwinMartin4-Dec-03 5:20
BaldwinMartin4-Dec-03 5:20 
GeneralMAPI Pin
Jump_Around4-Dec-03 2:33
Jump_Around4-Dec-03 2:33 
GeneralRe: MAPI Pin
David Crow4-Dec-03 4:05
David Crow4-Dec-03 4:05 
GeneralURGENT !! Please Need help printing bitmap Pin
crazydave224-Dec-03 1:34
crazydave224-Dec-03 1:34 
Generalneed help on setting state flags Pin
coda_x4-Dec-03 1:07
coda_x4-Dec-03 1:07 
GeneralRe: need help on setting state flags Pin
David Crow4-Dec-03 4:08
David Crow4-Dec-03 4:08 

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.