HOWTO: Debugging ActiveX Controls in IE 4.0 BrowserLast reviewed: November 26, 1997Article ID: Q167715 |
The information in this article applies to:
SUMMARYIn Internet Explorer 4.0 Integrated Browser Mode, the Windows shell and the Web browser run in the same process space. This poses a challenge to programmers who are attempting to debug their controls. This article lists a series of steps you can follow to reliably debug your ActiveX controls in the Visual C++ debugger running in Integrated Browser Mode. This article covers debugging both Visual C++ and Visual Basic-created components. NOTE: Alternatively, you can specify "Browse in a new process." To do this, click "Internet Options" from the View menu. Click the Advanced tab. Next, select "Browse in a new process."
MORE INFORMATION
a. Load the project into Visual Basic 5.0. b. From the File menu, select Make <YourProject>.ocx. c. Click the Options button and select the Compile tab. d. Select "Compile to Native Code" and check the option to "Create Symbolic Debug Info" e. Click OK to compile your component with debug symbols. f. To load the project into the Visual C++ debugger, select Open Workspace from the Visual C++ File menu, setting "Files of Type" to All Files (*.*), and then select your compiled component. For more information, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q166275 TITLE : HOWTO: Debug a Native Code Visual Basic Component in VC++ When you're finished debugging the control, the shell may need to be restarted using the Task Manager.
REFERENCESIn the Visual C++ 5.0 Books Online navigate to Platform, SDK and DDK Documentation\Platform SDK\ User Interface Services\Shell\Shell Extensions\ About Shell Extensions\Installing Handlers on Windows NT\ Debugging Tips Keywords : AXSDKControls Version : Win:4.0 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |