The MASM Forum

Microsoft 64 bit MASM => Tools & Toys => Topic started by: hutch-- on January 31, 2020, 02:42:23 AM

Title: Tiny Control Toys.
Post by: hutch-- on January 31, 2020, 02:42:23 AM
For anyone who has been around long enough, in the MS-DOS era you could routinely make tiny COM files that performed very narrow tasks. One of the things that can drive you nuts in Win 10 is simply finding where to make an adjustment as you have to remember multiple depths of ever changing Windows interfaces to do a simple settings change.

There are at least a number of ways to do this programmatically, you can use CreateProcess() calling "rundll32" or ShellExecute() using the MSC interface. Between the two you can make access to changing settings easy and predictable instead of the wild goose chase that is Win 10. The attached examples are tiny 1.5k executables calling the MSC interface.