Is there an easier way to convert Delphi 7 to Delphi 2009? or is there a way to use a Delphi 7 unit in a Delphi 2009 project?
I have a unit in Delphi 7 but the behavior is all messed up when I try to use it in my Delphi 2009 project.
It has a lot of differences like:
Hangul = 'ㄱㄲㄴㄷㄸㄹㅁㅂㅃㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎ' +
'ㅏㅐㅑㅒㅓㅔㅕㅖㅗㅛㅜㅠㅡㅣ';
ShowMessage(Copy(Hangul, 1 + (I) * 2, 2));
Shows the characters one at a time in Delphi 7 but two at a time in Delphi 2009. So I needed to change it to:
ShowMessage(Copy(Hangul, 1 + I, 1));
but that was the easiest, it get's more confusing..and the algorithm isn't mine so I can't figure out the entirety of the program.
Any help would be appreciated.
EDIT:
and if anybody is interested to see the code here is the LINK. It's the unit HanInput;
part. It translates keys (in english) and outputs the Korean characters. And no, I don't understand Korean.