View previous topic :: View next topic |
Author |
Message |
fuwafunghk
Joined: 14 Jul 2007 Posts: 25
|
Posted: Sun Dec 23, 2007 11:10 am Post subject: Problem with Automatic Key Generation |
|
|
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. |
|
Back to top |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2129
|
Posted: Sun Dec 23, 2007 12:29 pm Post subject: |
|
|
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? |
|
Back to top |
|
 |
fuwafunghk
Joined: 14 Jul 2007 Posts: 25
|
Posted: Sun Dec 23, 2007 2:08 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2129
|
Posted: Mon Dec 24, 2007 5:19 am Post subject: |
|
|
Please check the source of keygen DLL and be sure that GenerateKey function declared as following:
Code: | 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. |
|
Back to top |
|
 |
fuwafunghk
Joined: 14 Jul 2007 Posts: 25
|
Posted: Mon Dec 24, 2007 10:30 am Post subject: |
|
|
isiticov wrote: | Please check the source of keygen DLL and be sure that GenerateKey function declared as following:
Code: | 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. |
|
Back to top |
|
 |
|