Thanks for your report! This seems to be a problem that happens to users with older OS like Windows 7, so aside from upgrading there's not much I can do unfortunately.
Although does the game gives you a 'OK' dialog box when the error happens? If that's the case, try clicking 'OK' a couple of times to see if you can bypass the error and still play the game.