At what size of a string would you use EP_ProtectedStringByKeyAsWideString INSTEAD OF EP_ProtectedStringByKeyAsAnsiString ?
What are the size limits of each and how do they differ?
API Question
Re: API Question
Hi, there are no size limitations.
Basically, these two functions should be used for different kind of strings.
If you oen Enigma Protector, Protection Features - Protected Strings and if you edit a string, there is an Option button. There are options to select a type of string, this could be either ansi string, either wide string. WideString is better to use for recent version of Delphi, Ansi string could be usedful for D7 and earlier.
So if you marked your string as WideString, use EP_ProtectedStringByKeyAsWideString function to extract it.
Basically, these two functions should be used for different kind of strings.
If you oen Enigma Protector, Protection Features - Protected Strings and if you edit a string, there is an Option button. There are options to select a type of string, this could be either ansi string, either wide string. WideString is better to use for recent version of Delphi, Ansi string could be usedful for D7 and earlier.
So if you marked your string as WideString, use EP_ProtectedStringByKeyAsWideString function to extract it.