OLE Servers and modal forms, not repainting

In Delphi 3, I've created a simple OLE Automation Server with an
invisible main form, and one method - SayHi - which shows its other
form (frmHi) by executing frmHi.ShowModal.

When I write a simple controller, with a main form and a button which
simply instantiates the server, and calls SayHi, the frmHi from comes
up, but the controller's main form below gets completely erased by
the server's frmHi, and it doesn't repaint until I close frmHi.

Is there any way around this?


-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet