Any questions? Ask us: support@enigmaprotector.com

API Question

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc

API Question

Postby lynx550 » Thu Aug 25, 2016 10:31 pm

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?
lynx550
 
Posts: 5
Joined: Tue May 10, 2016 2:57 pm

Re: API Question

Postby Enigma » Fri Aug 26, 2016 9:49 am

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


Return to Basic

Who is online

Users browsing this forum: No registered users and 21 guests

cron