SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Automatic Key Generation

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> RegKeeper
View previous topic :: View next topic  
Author Message
fuwafunghk



Joined: 14 Jul 2007
Posts: 25

PostPosted: Sun Dec 23, 2007 11:10 am    Post subject: Problem with Automatic Key Generation Reply with quote

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
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Sun Dec 23, 2007 12:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
fuwafunghk



Joined: 14 Jul 2007
Posts: 25

PostPosted: Sun Dec 23, 2007 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Mon Dec 24, 2007 5:19 am    Post subject: Reply with quote

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
View user's profile Send private message
fuwafunghk



Joined: 14 Jul 2007
Posts: 25

PostPosted: Mon Dec 24, 2007 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> RegKeeper All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group