API Question

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
lynx550
Posts: 11
Joined: Tue May 10, 2016 2:57 pm

API Question

Post by lynx550 »

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?
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: API Question

Post by Enigma »

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.
Post Reply