Software components

All components on this page are written either in Java or in C++ for MS Developer Studio 4.2

The software on this page is provided as-is with no warranty whatsoever.
This software may be used free of charge for private and educational purpose (Although it would be nice to send me a postcard if you use it).
Commercial use in any way needs prior written permission!

Dice Roller

An applet to create random numbers. It allows to roll 1 to 20 dice of 2 to 100 sides and add a final bonus of 0 to 50 (+ or -). The last 4 rolls are displayed in a list. For standard rolls (1d4, 1d6, 1d8, 1d10, 1d12, 1d20, 1d100), buttons are provided for faster access.
Please note: Negative boni can result in negative rolls (e. g. 1d6-3 results in a range from -2 to 3).

Features:

Requires JDK 1.2 ! Otherwise you will get an error "load: class DiceRollerApplet not found", which means in reality, that the class com.sun.java.JApplet cound not be found.

Applet:

Download:

This is a Java applet and can be inserted in any webpage. Running it stand-alone is possible in an AppletViewer.

 

Progress bar

This component is, in contrast to the Win95 control, a useful progress bar. No more stupid blocks, but just continued filling of the bar (only horizontal from left to right).

Features:

Screenshot:

Download:

The component is an OLE-control and can be inserted in any dialog. Include it in the component gallery and the necessary stubs will be generated automatically.

 

Dialog for selecting a directory

This dialog allows the user to select a directory from all the available drives in the system. Creation of new directories and renaming of them can also be enabled. If nothing is specified, the dialog starts up with the current directory selected.

Features:

Screenshot:

Download:

The dialog is available as a DLL, but mostly you will include the source files in your project.

 

B-Tree template

This template allows you to store any type of data (must be a class!) in a Bayer-Tree of an user-defined order. B-Trees are especially useful for stroing large numbers of objects.

Features:

Download:

The template is naturally available only as source code. Include the header file in your project.

 

MD5 Hashcode

This component is a class wrapper for the standard MD5 message-digest algorithm by RSA Data Security, Inc. It allows hashing of strings and buffers.

Features:

Download:

The component is available only as source code. Include the source file (CHashMD5.cpp) in your project and the header file (CHashMD5.h) in the files you wish to use the class.

 

Top of page Homepage [Top of page] [Homepage]

Email to: sonntag@fim.uni-linz.ac.at Last change: 14 September 2000
(c) 1997 Michael V. Sonntag