폼이 있는 dll에서..
********dll메인소스
library thirddll;
uses
SysUtils,
Classes,
qqq_u in 'qqq_u.pas' {qqq: TQuickRep},
third in 'third.pas' {Form1};
exports
fmJuminValid index 1;
begin
end.
********폼에서..레포트하기
procedure TForm1.Button3Click(Sender: TObject);
begin
//Application.Handle := AHandle;
qqq := Tqqq.Create(Application);
try
qqq.qqery.close;
qqq.qqery.open;
qqq.Prepare;
qqq.preview;
finally
qqq.Free;
end;
end;
이렇게 한다음에.. 인쇄버튼까지 눌르면..
프리뷰까지 잘되여.. 잘나오는데..
인쇄화면 클로즈가 안되영..
control 'qqq' has no parent windows.
요런 메시지가 떠여....