Page 1 of 1

AV on EP_RegCheckAndSaveKey

Posted: Tue Feb 15, 2011 7:10 am
by Oleg
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?

Re: AV on EP_RegCheckAndSaveKey

Posted: Tue Feb 15, 2011 8:00 am
by Oleg
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?

Re: AV on EP_RegCheckAndSaveKey

Posted: Tue Feb 15, 2011 8:36 am
by Enigma
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!

Re: AV on EP_RegCheckAndSaveKey

Posted: Tue Feb 15, 2011 9:40 am
by Oleg
EP_RegLoadKey
Oh, sorry :oops: Thought it's Key and Name parameters are input :)
Thank you!