Plugin OnShowRegistrationDialog
Posted: Wed Dec 04, 2013 6:23 pm
Hi,
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:
However if I don't use the visual form (TForm1) and just call the TForm.Create(nil) directly, the form is displayed fine.
Any help with this would be great
Thanks,
Tim
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