[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 394
  • Last Modified:

VC++ 6.0 ActiveX Debugging

Hi,
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....

regs
0
raghx_2000
Asked:
raghx_2000
1 Solution
 
rcarlanCommented:
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).

Radu
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now