Click to open or copy the files for the SpinCube sample.
The SpinCube sample provides a generic Win32 DLL template. It demonstrates the use of DLL entry points, exported variables, and using the C run-time in a DLL. This sample also provides a functional example of how to create a custom control class that can be used by applications, such as Spintest.exe, as well as the Dialog Editor.
This sample uses the following keywords:
data_seg; defwindowproc; do_erase; getwindowlong; in_motion; makelong; memcmp; rand; repaint_bkgnd