move project into dll
问题 i moved my project into a DLL and in there I declared a procedure like this procedure StartApp; var myForm : TmyForm; begin myForm:=TmyForm.Create(Application); myForm.Show; end; exports StartApp; my main application's contains a dpr file containing: procedure StartAPP; external 'myDLL.dll'; begin StartAPP; end; when i run my project it opens myForm and then it exits my application. Can anyone tell me what i have done wrong? 回答1: Your procedure in the dLL is showing a non-modal form, in your