Page 1 of 1
Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey
Posted: Thu Apr 16, 2020 8:13 am
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
Thanks,
Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey
Posted: Thu Apr 16, 2020 10:08 am
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.
Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey
Posted: Sun Apr 19, 2020 11:19 am
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 ?
Re: Delphi : EP_RegLoadKeyEx to replace EP_RegLoadKey
Posted: Mon Apr 20, 2020 7:26 am
by Enigma
So, did you which to use EP_RegistrationLoadKeyA/EP_RegistrationLoadKeyW instead of EP_RegLoadKey?