C ++ debug ActiveX components of the ATL Project

Source: Internet
Author: User

Set debugging options on the project properties page

Debugger started: local Windows Debugger

Command: C: \ ProgramFiles \ Internet Explorer \ ipolice.exe

If the path is a 64-bit server, try to use 32-bit ie debugging,

It is possible that the generated COM component is 32-bit while the 64-bit ie cannot be identified. On the 64-bit host, the path is (c: \ Program Files (x86) \ Internet Explorer \ iw.e.exe)

Additional: Yes

Debugger type: only local

In some cases, you need to create a New DWORD Value named tabprocgrowth on hkey_localmachine> Software> Microsoft> Internet Explorer> main in the registry, and set the value to 0. However, after deletion, debugging is still available.

Then you can start an IE browser, enable debugging in Vs, set the breakpoint, and then open the corresponding page on IE to debug.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.