Any questions? Ask us:

VIRTUAL Box - registery

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

VIRTUAL Box - registery

Postby Alieivazzadeh » Fri Mar 23, 2018 8:11 pm

is this possible to Write some data like Strings or binary data to Virtual registry after compile and link it with enigma?
and how can i do that with C++?
Similar Functions or another method?
Please give the sample source code

Like that C# code:

Code: Select all
public bool Write(string KeyName, object Value)
        // Setting
        RegistryKey rk = baseRegistryKey ;
        // I have to use CreateSubKey
        // (create or open it if already exits),
        // 'cause OpenSubKey open a subKey as read-only
        RegistryKey sk1 = rk.CreateSubKey(subKey);
        // Save the value
        sk1.SetValue(KeyName.ToUpper(), Value);

        return true;
    catch (Exception e)
        // AAAAAAAAAAARGH, an error!
        ShowErrorMessage(e, "Writing registry " + KeyName.ToUpper());
        return false;

The full code on this link:
Posts: 1
Joined: Fri Mar 23, 2018 7:55 pm

Re: VIRTUAL Box - registery

Postby Enigma » Mon Mar 26, 2018 1:27 pm

Hi, yes, this would be possible, but please note, after application restart these changes will be ignored. So all changes to virtual files and registry are working within one running session only. When application restarts, protection takes the initial files and registry parameters. Is it OK for you?
Site Admin
Posts: 2348
Joined: Wed Aug 20, 2008 2:24 pm

Return to Basic

Who is online

Users browsing this forum: No registered users and 18 guests