Greetings, I am a Delphi 2006 user and I am having trouble using Hime.dll .
First of all I used the HimeLib.pas given in the delphi example (made by Joγo Inαcio) and the only thing I added was a wrapper for hi_Hex2Huge in order to be able to use hex strings.
So far I've been able to put string data in HIME registers and retrieve them in order to validate that the contents of the registers are correct. The problem is that whenever I call one function (eg. hi_PowMod) the program gives me an "Access violation at address 004D11AE in module 'hime.dll'. Read of address 00000003." error.
I used the same data at your HIMEworkbench and it completed successful so I guess I am doing something wrong.
my function looks like that:
function MyPowMod(s1,s2,s3: String): String;
begin
Hime.PutReg(1,s1,hi_Hex);
Hime.PutReg(2,s2,hi_Hex);
Hime.PutReg(3,s3,hi_Hex);
Hime.HugePowMod(1,2,3,4);
result:=Hime.GetReg(4,hi_Hex);
end;
Thanks for any help in advance