o1 = CREATEOBJECT("MyClass") o1.Show() READ EVENTS DEFINE CLASS MyClass AS Form OLEPUBLIC Top = 10 Left = 10 Width = 300 Height = 300 PROCEDURE Init this.Visible = .t. ENDPROC PROCEDURE Destroy CLEAR EVENTS ENDPROC ENDDEFINEBut if you split that code to two different projects, Compile one with OLEPUBLIC class to EXE, RUN Exename /regServer
o1 = CREATEOBJECT("ExeName.MyClass") o1.Show() READ EVENTSNothing happens. May be I missing something because I never play with OLEPUBLIC classes till now.