Started a Control Panel Application in Delphi 7, setting icon, title and description. Created a Form window and set unit1(applet module) to use unit2 (Form). Runs the following code on applet activation:
with TForm2.Create(nil) do
try
ShowModal
finally
Free
end;
Installed the applet and launched Control Panel which produces 3 identical application errors:
Exception EAppletException in module Project1.cpl at 00022DD2.
Invalid class reference for TAppletApplication.
Double-clicking the applet icon from control panel produces the error once more before displaying form2 successfully. I don't think I'm trying to do anything special here, so hopefully I am missing something really obvious!
Thanks, J.
delete or comment string
Application.CreateForm(TFo
in your .DPR file