I am trying to show my own custom form using the OnShowRegistrationDialog plugin function however when the function is called I am getting the following error message:
---------------------------
The Enigma Protector
---------------------------
Internal Protection Error, please contact to author!
---------------------------
OK
---------------------------
I have created a new blank form (TForm1 which is listed in the uses section as Unit1) and I'm using the following to create and display it:
Code: Select all
function Enigma_Plugin_OnShowRegistrationDialog : boolean;
var
Dialog: TForm1;
begin
Dialog := TForm1.Create(nil);
try
Dialog.ShowModal;
finally
Dialog.Free;
end;
Result := True;
end;
Any help with this would be great
Thanks,
Tim