Dec 282017
Displays the amount of memory a program is using under OS/2 PM. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
MEM | 364 | 182 | deflated |
MEM.C | 2614 | 1087 | deflated |
MEM.DEF | 268 | 185 | deflated |
MEM.EXE | 25680 | 15965 | deflated |
MEM.H | 396 | 219 | deflated |
MEM.ICO | 1056 | 139 | deflated |
MEM.LNK | 69 | 58 | deflated |
MEM.RC | 461 | 231 | deflated |
MEMINIT.C | 974 | 521 | deflated |
README | 1321 | 703 | deflated |
Download File MEM1.ZIP Here
Contents of the README file
This is a sample program that I wrote because I wanted some idea of the
amount of memory that my programs were using. I have include the 'C' source
so other people can make modifications to better suit there needs.
If anyone has suggestions on how to improve this program please let me
know. I can be reached on my BBS. Following is the info on it:
Compu-Plane
818 843-3507 300/1200/2400
818 843-4874 300/1200/2400/9600 on a Courier HST.
Both lines are 8,N,1 and are available 24 hrs a day. The BBS is also running
in the protected mode of OS/2.
The program is split into to 'C' source files, one is just for initialization of
the PM window. The other is the resident routines. In low memory situations
the initialization code will be discarded. This allows the resident code to be
smaller.
There are two main menu selections. The first changes how fast the
program updates the memory display. The default is one second, but you can
change it to 10,30 or 60 seconds. The second selection is the exit selection.
It seems to make most users more comfortable to have this selection, even
though you can close it with the system menu.
Hopefully this example will help others develop OS/2 PM applications. You
are free to pass this program along to others.
amount of memory that my programs were using. I have include the 'C' source
so other people can make modifications to better suit there needs.
If anyone has suggestions on how to improve this program please let me
know. I can be reached on my BBS. Following is the info on it:
Compu-Plane
818 843-3507 300/1200/2400
818 843-4874 300/1200/2400/9600 on a Courier HST.
Both lines are 8,N,1 and are available 24 hrs a day. The BBS is also running
in the protected mode of OS/2.
The program is split into to 'C' source files, one is just for initialization of
the PM window. The other is the resident routines. In low memory situations
the initialization code will be discarded. This allows the resident code to be
smaller.
There are two main menu selections. The first changes how fast the
program updates the memory display. The default is one second, but you can
change it to 10,30 or 60 seconds. The second selection is the exit selection.
It seems to make most users more comfortable to have this selection, even
though you can close it with the system menu.
Hopefully this example will help others develop OS/2 PM applications. You
are free to pass this program along to others.
December 28, 2017
Add comments