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: 22
Joined: Sun Aug 19, 2018 10:58 am

Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Grawol »

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: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Enigma »

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: 22
Joined: Sun Aug 19, 2018 10:58 am

Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Grawol »

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: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey

Post by Enigma »

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