The MASM Forum

Microsoft 64 bit MASM => Examples => Topic started by: hutch-- on November 19, 2018, 02:49:20 AM

Title: Small CPU - Memory Info App.
Post by: hutch-- on November 19, 2018, 02:49:20 AM
This one comes with a sales pitch.   :biggrin:

Nearly lost in the mists of time, a technology so ancient that it comes out of the core of the earliest versions of Windows, a design freedom that almost no longer exists except in the nearly forgotten knowledge of the ancient. From the days when you used THE original Windows SDK in an era when code had to be efficient and small enough to run on 16 bit Windows.

While the great unwashed flounder away with their balloons of garbage occupying enough disk space to store an operating system, those who did not trade their skills for the wide and easy path that leads to a job at McDonalds have sharpened their wits with the truly wicked performance that pure assembler is capable of delivering.

---------------------------------------------------------------------------------------------

Funny story, I got this app up and going and it ran perfectly from the editor and from the old Windows File Manager but when I tested it on both the desktop and Explorer, it absolutely would not start. I found it would run if I set the compatibility to Vista which was somewhat less than useful so I tracked it down to using a remote procedure to fill out the Windows memory settings and for reasons that don't make sense, it absolutely would not start.

What I had to do was inline the function calls directly in the WM_CREATE message processing and it worked correctly in Win 10 64 bit. Hope someone likes it.

I can't post the code yet as I have not caught up with the documentation, it contains a couple of custom controls that are not in the last posted library. When I catch up I will post the code.
Title: Re: Small CPU - Memory Info App.
Post by: xanatose on February 17, 2021, 10:57:21 AM
Working fine on Windows 10 64 bit.

Only nitpick is that the line with instruction set string gets cropped.

Title: Re: Small CPU - Memory Info App.
Post by: Gunther on February 17, 2021, 12:45:43 PM
Steve,

The program works fine here under Windows 10 (64 bit). Quite fast and lean it does its job and displays what it should. If you find the code, don't forget to post it.

Gunther
Title: Re: Small CPU - Memory Info App.
Post by: hutch-- on February 17, 2021, 12:55:57 PM
I may have posted this zip file elsewhere in the forum. It may be missing some functions but if that is the case, let me know and i will find the missing stuff for you.
Title: Re: Small CPU - Memory Info App.
Post by: Gunther on February 18, 2021, 12:30:56 AM
Thank you Steve.  :thumbsup:

Gunther
Title: Re: Small CPU - Memory Info App.
Post by: stevenxie on February 22, 2021, 10:45:58 PM
Hi, Steve,It is very great!  :thumbsup: :thumbsup: :thumbsup:
Title: Re: Small CPU - Memory Info App.
Post by: hutch-- on February 22, 2021, 11:47:56 PM
Thanks guys, I gather it would build OK with the current libraries.