Problem with Automatic Key Generation

Forum designated to discuss the RegKeeper- e-Sales Tracking Software.
Locked
fuwafunghk
Posts: 25
Joined: Sat Jul 14, 2007 1:28 am

Problem with Automatic Key Generation

Post by fuwafunghk »

Hi Igor Siticov,

I tried to implement my own keygen plug-in for Regkeeper this few days. I have followed the rules of Regkeeper Keygen plug-in. And I have disabled the "Process received mail orders in background", then I had clicked "Generate" button in "Registration Info" tab when Regkeeper got the tested mail order. But it did not give any "Key-info".

And then I used the Delphi version of Sample Key Gens provided with Regkeeper. It gave me the same result after I have compiled it and set the keygen path correctly.

Did I have something wrong?

Best regards,
Fuwa Fung.

isiticov
Site Admin
Posts: 2268
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Did you setup "product specific DLL" for key generator or did you compiled rkkeygen.dll and placed it into the same folder where RegKeeper.exe?
Best regards,
Igor Sitikov.

fuwafunghk
Posts: 25
Joined: Sat Jul 14, 2007 1:28 am

Post by fuwafunghk »

Hi,

Yes. It can be set in the "Product Data" tab of a product in the "Product" navigation bar. The setting location is the last 2nd Edit Box in that tab.

Best regards,
Fuwa Fung.

isiticov
Site Admin
Posts: 2268
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Please check the source of keygen DLL and be sure that GenerateKey function declared as following:

Code: Select all

procedure GenerateKey(KeyGenInfo: PKeyGenRecord; var UnlockCode: PChar; var FileToAttach: PChar); export; stdcall;
.
In some early installs this function was declared incorrectly in sample DLL source code.
Best regards,
Igor Sitikov.

fuwafunghk
Posts: 25
Joined: Sat Jul 14, 2007 1:28 am

Post by fuwafunghk »

isiticov wrote:Please check the source of keygen DLL and be sure that GenerateKey function declared as following:

Code: Select all

procedure GenerateKey(KeyGenInfo: PKeyGenRecord; var UnlockCode: PChar; var FileToAttach: PChar); export; stdcall;
.
In some early installs this function was declared incorrectly in sample DLL source code.
Yeah, you are right. Just without a directive "var" besides the "UnlockCode" variable will give this 2 big differences. But the online-help file declares this correctly. Thanks for your remind.

Best regards,
Fuwa Fung.

Locked