Any questions? Ask us:

Block Keys?

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

Block Keys?

Postby doidloko » Wed Oct 09, 2013 1:21 am

hi how can i make a block keys in enigma protector? player press the key and process finish

i have it on c++ in my old source. how can i block keys insert and "/" in my .exe?

#define qtdKey 2
static DWORD checkForForbiddenKeys(LPVOID args)
const WORD fbKeys[qtdKey] = {

for (;;) {
for (unsigned i = 0; i < qtdKey; i++) {
if (GetAsyncKeyState(fbKeys[i]) & 0x8000)

void blockteclas(){
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) checkForForbiddenKeys, NULL, 0, NULL);
Posts: 3
Joined: Sun Jul 14, 2013 4:39 pm

Re: Block Keys?

Postby Enigma » Wed Oct 09, 2013 7:40 am

Hi doidloko,

You may implement such functionality in the plugins. Take a look at this folder "The Enigma Protector\EnigmaPluginsSDK\" there is an SDK for plugins, take necessary template and add the code to Enigma_Plugin_OnInit or Enigma_Plugin_OnFinal functions.
Site Admin
Posts: 2283
Joined: Wed Aug 20, 2008 2:24 pm

Return to Basic

Who is online

Users browsing this forum: No registered users and 20 guests