OWL NExt - Knowledge Base

[ Home | Contents | Search | Next | Previous | Up ]

Using OCX?

Date: 11/30/99
Time: 12:25:13 AM


Q. I try to use an OCX in my OWL application. This is not a DOC/View application, and I'm trying to use the OCX in a simple dialog box. I followed all the instructions of converting my application into OLE container, and the application worked fine. (without any OCX) When trying to use the OCX in a dialog box I get a lot of crashes and error messages. I don't know if they come form the OCX or from the application.
What should I do in order to use an OCX on a dialog box that is not the main window of the application ?
I don't see any example for this in the examples supported with Borland C++ 5.0

A.
Have you looked through the examples in  \BC5\EXAMPLES\OWL\OCF\OCXDLG
and visited Dr. John Maddock's page http://ourworld.compuserve.com/homepages/John_Maddock/proxywiz.htm?

Last changed: July 14, 2001