I have a question about this source code:http://www.programmersheaven.com/download/4123/download.aspx
I've downloaded it for use in a game I've made. It's purpose is to encrypt the hi-score file. It works perfectly in the DOS version of the game, but I'm now porting the game to Win32 and I've run into a problem.
The encryption works as it should within the Win32 version of the game, but when I try to use a hi-score file made with the DOS version in the Win32 version, the decryption comes out completely messed up -- despite the fact that I've used the exact same code key in both versions! Why is that?!