VC++ 6.0 ActiveX Debugging

Posted on 2005-04-06
Last Modified: 2010-04-24
I have a source code for an activex control which reads smartcard. i have written application in VB using this activex control. there is some problem now in reading where data is lost....
so i need to debug this control.
Is there any way to debug this control apart from (Activex Control Test Container) coz i will be looping in VB to find records in smart card.
I tried VC++->Build->Attach to Process menu option also but nothing happened even i had breakpoints in VC++ project.... :(

Please let me know, how can i debug....

Question by:raghx_2000
    1 Comment
    LVL 9

    Accepted Solution

    In VC6 open the ActiveX project and go to Project | Settings | Debug and put the file path of your VB application in Executable for debug session.
    Now you can start a debug session in VC6 (i.e. press F5) and place breakpoints in your ActiveX C++ code (after the ActiveX is loaded by the VB app).


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now