wawang
5/3/2007 7:00:00 AM
Hi Jerry,
First, the app.config added to your class library is only used when you're
working with the class library project in VS2005; when it's referenced by
your WinForm application, it's the App.config of this winform application
taking effect.
Second, I don't think this jitDebugging attribute is related to debug your
VB6 com server.
To debug your VB6 COM component, please try following steps (I'm using a
simple VB6 ActiveX DLL for test):
1) Create a simple VB6 ActiveX DLL, in Class1, add a public function:
Public Function GetText() As String
GetText = "Hello"
End Function
2) Add a breakpoint at the 'GetText = "Hello"' line
3) Open the project properties dialog, in "Debugging" tab, select "Start
program" and input your VS2005 IDE path such as "C:\Program Files\Microsoft
Visual Studio 8\Common7\IDE\devenv.exe"
4) Press F5 to start debugging, when VS2005 IDE launches, open your VS2005
solution project which is using the VB6 COM component.
5) Test your Winform application, when it calls into VB6's code, the VB6's
breakpoint will be hit.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.