-
July 14th, 2004, 12:57 PM
#1
Stepping w debugger in C++ OCXs
Is there a way to debug ActiveX components written in C++ (Visual Studio 6) using the debugger or is it all "MessageBox" and "fprintf" type debugging ?
I know you can use the ActiveX Control test container app but can I somehow set breakpoints and step through my control while using that ?
Thanks !
-
July 14th, 2004, 01:39 PM
#2
Hi rseidl,
If you choose Visual Basic as the Executable and create a new project with your control, then you can debug through Visual C++.
Jeff
-
July 15th, 2004, 03:45 AM
#3
Not sure I understand what you mean ...
I tried:
Open workspace w my OCX in VC++ 6sp4
Debug configuration
Breakpoints set
Run (F5)
Specify executable: tstcon32.exe (ActiveX Control Test Container)
...test control container app opens, I instantiate my OCX
...run through the breakpointed code
...do NOT break into debugger
same happens if I specify VB as the executable in VC++
Settings>Debug>General>Executable for this session
What am I misunderstanding here ? Thanks !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|