Ver Mensaje Individual
  #2  
Antiguo 12-07-2006
genius genius is offline
Miembro
 
Registrado: may 2006
Posts: 38
Reputación: 0
genius Va por buen camino
este parametro Aplication.Handle tenes q pasarle a tu Dll
y a la hora de crear el Formu lo haces de esta manera.

Código Delphi [-]
function ShowForm(A: TApplication): Bool;
var
  Form1: TfrmDLL;
begin
  Application.Handle := A.Handle;
  Form1 := TfrmDLL.Create(A);
  try
    Result := (Form1.ShowModal = mrOK);
  finally
    Form1.Free;
  end;
end;

Última edición por dec fecha: 13-07-2006 a las 18:05:37.
Responder Con Cita