Now that the engine in my checkers program is nearly complete, and the opening book generator is active and building itself, it is time to get the GUI into focus.
Here is a brief explanation:
On startup, I have to read some very large files of precomputed wins into a large buffer. It will allow the checkers program to announce a win from a distance of 371 plies, or 186 moves (for the winning side.) As the program searches, it may encounter any of the 10 trillion positions I have precomputted, allowing it to announce its victory from very early on in the game should the player stumble in the least.
Having said that, the initial first load takes up to 8 minutes, depending on your system. What I am trying to do is show a splash screen with a progress bar while this is going on.
I am having no luck, even though I allocate the window storage, make the call to DrawPicture(), all chronologically before I begin reading the large checkers databases.
All I get is the "busy" cursor, a blank window, 8 minutes of a rectangular version of a "polar bear in a snow storm", followed by a very nice image of the splash screen and a 100% progress bar indicator.
No doubt, the OS is prioritizing the heavy disk reading to window drawing. Is there any way around this?
Thanks in advance!
Here is a brief explanation:
On startup, I have to read some very large files of precomputed wins into a large buffer. It will allow the checkers program to announce a win from a distance of 371 plies, or 186 moves (for the winning side.) As the program searches, it may encounter any of the 10 trillion positions I have precomputted, allowing it to announce its victory from very early on in the game should the player stumble in the least.
Having said that, the initial first load takes up to 8 minutes, depending on your system. What I am trying to do is show a splash screen with a progress bar while this is going on.
I am having no luck, even though I allocate the window storage, make the call to DrawPicture(), all chronologically before I begin reading the large checkers databases.
All I get is the "busy" cursor, a blank window, 8 minutes of a rectangular version of a "polar bear in a snow storm", followed by a very nice image of the splash screen and a 100% progress bar indicator.
No doubt, the OS is prioritizing the heavy disk reading to window drawing. Is there any way around this?
Thanks in advance!