Re: Managed app with native (ATL) control
- From: "Brian Burgess" <bburgess66@xxxxxxxxxxx>
- Date: Thu, 6 Jul 2006 18:13:55 +0800
got it ... many thx!
-B
"Oleg Starodumov" <com-dot-debuginfo-at-oleg> wrote in message
news:uNqg67NoGHA.964@xxxxxxxxxxxxxxxxxxxxxxx
I'd like to debug a custom ActiveX control (made with ATL if it matters),
using a managed (CSharp) EXE. Anyone know how to do this.
You should configure the debugger to use either mixed or native mode
(in mixed mode you will be able to debug both native and managed code,
but debugger can work slower)
If you are debugging from the C# application's project, set the following
setting to "true" to enable mixed mode:
Project properties | Configuration Properties | Debugging | Enable
unmanaged debugging
If you are debugging from the ActiveX control's project, set the following
setting
to either "Native Only" or "Mixed":
Project properties | Configuration Properties | Debugging | Debugger Type
These settings are for VS2003. If you are using VS2005, there should be
similar settings.
Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]
.
- References:
- Managed app with native (ATL) control
- From: Brian Burgess
- Re: Managed app with native (ATL) control
- From: Oleg Starodumov
- Managed app with native (ATL) control
- Prev by Date: RE: Possible debugger bug?
- Next by Date: bug vs2005?
- Previous by thread: Re: Managed app with native (ATL) control
- Next by thread: RE: Possible debugger bug?
- Index(es):
Relevant Pages
|