I need a DLL (created in C/C++ with Visual Studio) that displays a JPG image as splash image (in the middle of the screen)
The DLL will be loaded and will read an environment variable "JpgSplashBuffer" that will contain a pointer in memory of a loaded JPG image in memory, so it will display it.
The DLL will continue execution (the splash image is still visible) and it will wait for specific events:
1) If the user clicks on the splash image and the environment variable "CloseSplashOnClick" exits, it will close the splash image
2) If the environment variable "CloseSplashNow" exists, it will close the splash image.
That is, a thread in the DLL will be active until any of those events (in environment variables) occur.
IMPORTANT 1!: The compiled DLL needs to be a small as possible. We don't accept compiled DLLs that are bigger than 100Kb
IMPORTANT 2!: The compiled DLL won't rely on external libraries (MFC, OLE, etc.)
IMPORTANT 3!: You cannot use external libraries (Boost, etc) to display the splash screen
Please, deliver a test EXE example that calls the DLL and loads the image on memory to be passed to the DLL to test it
If you have any questions, just ask.