I have found that an application using the PSDWE.OCX crashes when the window containing the OCX is created for the second time.

This is what I did

  1. Create and Show window containing PSDWE.OCX
  2. Close and Destroy window
  3. Create and Show window again: CRASH

This happens only when I test the application on windows 2000.

No problems with NT.

I have not testet W95/98/ME.

Workaround:

I place an invisible instance of the control in my main form where it is never destroyed. The control does nothing and is not connected to any report, datawindow object or data source.