Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Grawol
Posts: 16
Joined: Sun Aug 19, 2018 10:58 am

Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Grawol » Thu Apr 16, 2020 8:13 am

Hi,
I want to use EP_RegLoadKeyEx to replace my previous methor of EP_RegLoadKey, since it is deprecated.
I want to use it. I still don't understand the implementation. I have read anyway.

I need an example exactly :D


Thanks,

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

Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Enigma » Thu Apr 16, 2020 10:08 am

Hi, for Delphi this is rather simple to do.

In the enigma_ide.pas, there are additional wrapper functions written to use EP_RegLoadKeyEx.

They are EP_RegistrationLoadKeyA or EP_RegistrationLoadKeyW if you use Unicode license keys.

So simply use EP_RegistrationLoadKeyA/EP_RegistrationLoadKeyW in your code, this means that you will use EP_RegLoadKeyEx.

Grawol
Posts: 16
Joined: Sun Aug 19, 2018 10:58 am

Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Grawol » Sun Apr 19, 2020 11:19 am

this thing is my concern

Code: Select all

 WARNING: The function EP_RegLoadKeyEx should be used instead of deprecated EP_RegLoadKey
which should i take care ?

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

Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Enigma » Mon Apr 20, 2020 7:26 am

So, did you which to use EP_RegistrationLoadKeyA/EP_RegistrationLoadKeyW instead of EP_RegLoadKey?

Post Reply