The basic windows application differs from my earlier windows tutorial in that instead of animating with a timer, we do an endless loop, checking windows messages with PeekMessage in every rendering loop.
Apart from that, the first application is pretty straight-forward. Refer to my win32 tutorial if something is unclear.
Next we'll set up DX8..