AV on EP_RegCheckAndSaveKey

Post here messages if you have any problems with working of Enigma Protector
Post Reply
Oleg
Posts: 10
Joined: Mon Feb 14, 2011 2:41 pm

AV on EP_RegCheckAndSaveKey

Post by Oleg » Tue Feb 15, 2011 7:10 am

Hi!
I'm trying to do the following:

Code: Select all

EP_RegCheckAndSaveKey(PChar(frmRegistration.edName), PChar(frmRegistration.memKey.Text))
On Run (Delphi 2007) here is the AV:
'access violation at 0x7c9038e0: write of address 0x00030ffc' at Application.Initialize;

Is it restriction of trial version? Or I'm doing something wrong?

Oleg
Posts: 10
Joined: Mon Feb 14, 2011 2:41 pm

Re: AV on EP_RegCheckAndSaveKey

Post by Oleg » Tue Feb 15, 2011 8:00 am

Copied enigma_ide.dll to the EXE folder - all works fine :D

P.S.
Is there a facility to get the user name the current copy of the program is registered to?

Enigma
Site Admin
Posts: 2557
Joined: Wed Aug 20, 2008 2:24 pm

Re: AV on EP_RegCheckAndSaveKey

Post by Enigma » Tue Feb 15, 2011 8:36 am

Hi Oleg, yes, enigma_ide.dll should be placed in the same folder while development, after protection you do not have to use this dll.
Oleg wrote:Is there a facility to get the user name the current copy of the program is registered to?
Sure, use EP_RegLoadKey to get user name and key that is currently registered!

Oleg
Posts: 10
Joined: Mon Feb 14, 2011 2:41 pm

Re: AV on EP_RegCheckAndSaveKey

Post by Oleg » Tue Feb 15, 2011 9:40 am

EP_RegLoadKey
Oh, sorry :oops: Thought it's Key and Name parameters are input :)
Thank you!

Post Reply