I'm creating a simple program but i have run in some trobule.
I'm using directdraw to create a back surface fill it randomley with pixels and then flip it into the primary surface.
The compile goes good but when i start the program it shows a black screen and quits to windows.
You can download the source from here: http://the4th0.tripod.com/main.zip
Take your time