Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Encryption program works differently in Virtual Pascal for Win32?
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?!