views:

473

answers:

0

I'm coding a Delphi application using Delphi 2007. I'm using a third party OCX and when I try to show a form from the main form I'm getting an exception:

Exception class EOleError with message 'Could not obtain OLE control window handle'.

The form that I'm trying to show was created manually within Delphi with the OCX dragged from the tool palette.

Any ideas?