Downloads


Notes

Here you can download some of my utilities. The are written for Windows and should run on all current versions. Please let me know if you encounter any problems or if you have any recommendation for improvements. None of the utilities needs to be installed. Just copy the .exe file to your preferred path and remove the file for uninstalling it.
The utilities store some parameters in the registry or in an ini-file. The entries won't hurt, but you may remove them with regedit. The used keys are at

HKEY_CURRENT_USER/Software/Michael Krämer Freeware

Also some command line parameters are supported. They are described, when you press the info button of the respective utility. The following parameters are supported by all of them:

-rc: clear all registry keys of this utility
-rd: disable use of the registry for this utility
-pp=m: set the process priority for the dialog (0:idle, 1:normal, 2:high, 3:realtime)
-pt=n: set the priority for the processing thread (0:idle, 1:lowest, 2:below normal, 3:normal, 4:above normal, 5:highest, 6:time critical)

If  any one of the utilities shall run in the background, without much impact on the agility of the system, it is a good idea to set its thread priority to idle (-pt=0). It will then only get the CPU, if no other task needs it.

All files are compressed with 7-zip.

ParSer
ParSer.7z
V1.00 (121.2 kB)

ParSer is a utility to construct a non-standard resistance or capacitance value from a set of standard resistors or capacitors. ParSer supports different topologies of up to three individual components. ParSer can also calculate voltage dividers and find a set of suitable resistors. The minimum and maximum shunt current can be specified as well as the nominal load current.

Here is the ParSer Online Help

The name ParSer is misleading. It stands for parallel/serial connection of resistors or capacitors. I'm not very happy myself with this name, but now it's out and I'm not going to change it.

bin2c
Bin2C.7z
V1.10 (62.7 kB)

Bin2C converts binary files into C source files. Its purpose is to make binary data (e.g. audio or graphics) available to a program on an embedded system, which often lacks the file access services of an operating system. The binary contents can then be compiled along with the source code and other data. Multiple binary files can be specified and then a pointer structure to the individual files may be generated.

Here is the Bin2C Online Help

executeat
ExecuteAt.7z
V0.30 (63.7 kB)

ExecuteAt executes some other program at a specified time. It may be used for a regular automatic backup for instance. The weekdays may be selected at which the program shall be executed.

Here is the ExecuteAt Online Help

Sources.7z
Sources.7z
212.3 kB

Here are the sources for all the utilities above. All are written in standard ANSI-C and the project files for Microsoft Visual C++ 2010 Express are included. Visual C++ 2010 Express is available for free from the Microsoft website. Collecting the first experience in Windows programming can sometimes be challenging, at least for those of us, who are more familiar with embedded systems programming in C and assembler than with Windows or Linux and C++. This package contains WinSample, which is a sample project for the Visual C++ development tools. It serves as a skeleton for simple Windows programs like the ones above, which often just consist of a dialog box. This skeleton is pure ANSI C-code.
The Lib directory contains the file WinLib.C, which provides the commonly used Windows functionalities for the above utilities. This library must be generated before any of the utilities can be recompiled.
Also included is WaveLib, which supports reading and writing .wav audio files. It is needed for the Bin2C utility.


Here is the old version of this download page, just in case I screwed up something.