Next Previous Up Top Contents Index

6.5 Debugging techniques

6.5.3 Debugging OLE components

To debug in-process OLE servers and OLE controls, which must be built as DLLs, you can use the same debugging processes as described in Section 6.5.2.

If you want to test your server or control in a container application, simply enter the name of the application executable in the Executable field of the Project > Settings... dialog's Debug page. This executable could be any OLE container, such as WordPad. The Application > Start, Application > Debug, and Application > Interact commands then execute the container executable. Execution proceeds normally until the code of the OLE server or control is executed; only then will the debugger be able to intervene either by pausing when the server or control loads or when a start function is called.

In the case of an OLE compound document server, of course, the debugger will only be able to act if you choose to insert an instance of your OLE server object into your test container application.


Getting Started with Functional Developer - 31 MAR 2000

Next Previous Up Top Contents Index