在win2000中所有窗體都能正常打開﹐但在win98中﹐有部分窗體不能正常打開﹐
打開時顯示"Invalid Pointer Operation"﹐不正常的被打開窗體的create和show事件中都未寫代碼。我創建窗體(MDI窗體)的代碼﹕
procedure TMainFrm.CreateFrm(var Form: TForm; TCForm: TFormClass; IsShowModal: Boolean);
begin
  if Form=nil then
  begin
    Form:=TCForm.Create(application);
  end;
  if IsShowModal then
    Form.ShowModal
  else
    Form.Show;
end;
procedure TMainFrm.acnRecivMainPoExecute(Sender: TObject);
begin
  CreateFrm(TForm(ReceMaintPoFrm),TReceMaintPoFrm,False);
end;