EP_RegLoadAndCheckKey

Post here messages if you have any problems with working of Enigma Protector
Post Reply
samsonite131
Posts: 30
Joined: Tue Oct 15, 2013 10:35 pm

EP_RegLoadAndCheckKey

Post by samsonite131 »

EP_RegLoadAndCheckKey function serves for reading and verifying registration information.
It combines couple functions EP_RegLoadKey and EP_RegCheckKey.
Is there a Unicode version of EP_RegLoadAndCheckKey? I cannot find it.

I'm assuming EP_RegLoadAndCheckKey is meant for ANSI strings only, because when I enabled the
"UNICODE Registration Scheme" option, the function failed, where it succeeded before.
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: EP_RegLoadAndCheckKey

Post by Enigma »

Hi samsonite131,

This function is just a wrapper that calls EP_RegLoadKey and then EP_RegCheckKey. If the unicode is enabled, then the unicode versions of load and check functions are being called. So this function is unicode independent, as it does not require any parameter.

In your case the function fails probably because you are trying to load and check ansi key, the key you generated before you enabled unicode checkbox.
Post Reply