Message 1 of 17
Debug VB6 ActiveX DLL

Not applicable
07-14-2008
12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Greetings,
First of all I want to note that I've scoured the existing posts in the various discussion forums for search terms like "debug", "vb6", and "dll", with some promising leads, but none have seemed to help. Please help!!
I have a VB6 ActiveX dll which is used by AutoCAD. I would like to set a breakpoint and step through/debug the code. Nothing I have tried seems to work (the breakpoints are never hit, even though I know the dll is being run).
I have tried the following with no success:
1. Right-click on the VB dll project
2. Click "Debugging" tab
3. Click "Wait for components to be created" radio button
4. Set the make properties for the dll project to build the dll in the folder that AutoCAD expects
5. Click the "Play" button in the Visual Basic IDE to kick off debugging
6. Start AutoCAD and test
Additionally I have tried:
1. Right-click on the VB dll project
2. Click "Debugging" tab
3. Click "Start program" radio button and set path to AutoCAD exe
4. Set the make properties for the dll project to build the dll in the folder that AutoCAD expects
5. Click the "Play" button in the Visual Basic IDE to kick off debugging
Neither has worked. I can't believe I'm the only person who has tried to do this, so any pointers would be GREATLY appreciated.
Thanks in advance.
First of all I want to note that I've scoured the existing posts in the various discussion forums for search terms like "debug", "vb6", and "dll", with some promising leads, but none have seemed to help. Please help!!
I have a VB6 ActiveX dll which is used by AutoCAD. I would like to set a breakpoint and step through/debug the code. Nothing I have tried seems to work (the breakpoints are never hit, even though I know the dll is being run).
I have tried the following with no success:
1. Right-click on the VB dll project
2. Click "Debugging" tab
3. Click "Wait for components to be created" radio button
4. Set the make properties for the dll project to build the dll in the folder that AutoCAD expects
5. Click the "Play" button in the Visual Basic IDE to kick off debugging
6. Start AutoCAD and test
Additionally I have tried:
1. Right-click on the VB dll project
2. Click "Debugging" tab
3. Click "Start program" radio button and set path to AutoCAD exe
4. Set the make properties for the dll project to build the dll in the folder that AutoCAD expects
5. Click the "Play" button in the Visual Basic IDE to kick off debugging
Neither has worked. I can't believe I'm the only person who has tried to do this, so any pointers would be GREATLY appreciated.
Thanks in advance.