Page 1 of 1

Request Plugin

Posted: Thu Jan 25, 2018 1:03 am
by codewarrior
Hello good day can i request a plugin that can create process for executable file...

Re: Request Plugin

Posted: Thu Jan 25, 2018 10:05 am
by Enigma
This is soo simple.

Attached project can be opened in Lazarus/FreePascal or Delphi to compile a plugin dll.

The magic is there:

Code: Select all

procedure Enigma_Plugin_OnInit;
begin
  // This function is calling when the protected file is being initialized
  // when main program is not initialized yet

  ShellExecuteW(0, 'open', 'myexe.exe', nil, nil, SW_SHOW);
end;

Re: Request Plugin

Posted: Thu Jan 25, 2018 10:53 pm
by codewarrior
Enigma wrote:This is soo simple.

Attached project can be opened in Lazarus/FreePascal or Delphi to compile a plugin dll.

The magic is there:

Code: Select all

procedure Enigma_Plugin_OnInit;
begin
  // This function is calling when the protected file is being initialized
  // when main program is not initialized yet

  ShellExecuteW(0, 'open', 'myexe.exe', nil, nil, SW_SHOW);
end;
Thanks sir