Happy Easter everyone!
SDL mediates audio,video,mouse, and keyboard and the Windows message loop. It is designed to work alongside Opengl
Unfortunately I have not succeeded in getting Peter's code to load the BMP file, though it appears to initialise SDL correctly. I have tried different BMP images too in case there was an incompatibility.
Included with FreeBasic, there are quite a few SDL examples so it might be worth examining those closely.
Charles