L
lordofbinladen
Unregistered / Unconfirmed
GUEST, unregistred user!
DLL 部份:<br><br>function fX(h: THandle): boolean; stdcall;<br>var OldH : THandle;<br>begin<br>OldH := Application.Handle;<br>Application.Handle := H;<br>form1 := Tform1.Create(Application);<br>try<br> form1.ShowModal;<br> result := true;<br>finally<br> form1.Free;<br> Application.Handle := OldH;<br>end;<br>end;<br><br>CLX Application 主程序部份:<br><br>fx(Application.Handle); -->[Error]Incompatible types : 'Cardinal' and 'QApplicationH' <br><br>请问该如何是好?<br><br> <br>