V
VeryCoolBoy
Unregistered / Unconfirmed
GUEST, unregistred user!
DLL中包含一窗体变量Form1:TForm,<br><br>并有如下一个函数:<br><br>function ShowDllForm(AHandle:THandle;ACaption:String):Longint;stdcall;<br>begin<br> Application.Handle:=AHandle;<br> if not Assigned(Form1) then<br> Form1:=TForm1.Create(Application);<br> Result:=Longint(Form1);<br> Form1.Caption := ACaption;<br> Form1.Show;<br>end;<br><br>如果 TForm1 的FormStyle=fsNormal 则系统能正常运行,而为fcMdiChild就出错,请问如何解决。<br><br>我这可是我一个项目的节骨眼儿啊,十万火急,忘大家可怜可怜我啊,知道就马上告诉我吧