المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Debugging a Native DLL From a C# Assembly



C# Programming
05-29-2010, 08:00 AM
I have a Windows Service written in C#.

This service uses PInvoke to interface with a DLL written entirely in MFC.

When I debug the service, VS 2010 refuses to step into the dll, and doesn't even show it loaded in the Modules ******** I know it's loaded because the service is performing its intended function.

I have checked the box that says, "Enable native code debugging," and I can't figure out why VS 2010 isn't letting me debug the DLL.

Is there some trick to it?