News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Plain text editor

Started by elegem, September 12, 2009, 11:56:19 PM

Previous topic - Next topic

hutch--

You need to understand how task manager works, if an app calls a single function in a system DLL, it counts the entired DLL as part of its memory alculation but this is not wirthout its problems as the system DLLs are only loaded once and handle many instances concurrently. For actual memory efficiency you can drop the stack size of a 32 bit PE file with a linker setting as many apps don't need the default 1 meg stack but this will not show up in Task Manager.

Simple solution is to use the normal API calls for file IO as its the only way you can do it.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

elegem

Quote from: hutch-- on September 16, 2009, 11:55:31 PM
You need to understand how task manager works, if an app calls a single function in a system DLL, it counts the entired DLL as part of its memory alculation but this is not wirthout its problems as the system DLLs are only loaded once and handle many instances concurrently. For actual memory efficiency you can drop the stack size of a 32 bit PE file with a linker setting as many apps don't need the default 1 meg stack but this will not show up in Task Manager.

Simple solution is to use the normal API calls for file IO as its the only way you can do it.

Erm...can you show how to do that with http://win32assembly.online.fr/tut12.html  ...I'm still learning. :eek