views:

16

answers:

1

Hello,

I'm having some troubles debugging a solution which contains both a native ANSI C DLL project and a managed C#/WPF application project.

I call the functions exported by the DLL using the LoadLibrary/GetProcAddress Win32 API functions (DllImport attribute is not applicable for my program as the DLL is selected by the user). Both projects are built using the Debug configuration. The native DLL is copied to the bin/Debug directory of the C# program. When I debug the C# project, I can't step into the native code.

Is there a way to step into the native code?

It works when I debug the DLL project using the C# program, but then I can't step into the managed code...

I'm using Visual Studio 2010 Professional and Visual Studio 2010 Ultimate.

lg, Dominik

A: 

On little check box...

Thank you, works just fine!

Even step-into (F11 in VS2010) works. Breakpoints in native code work too.

Korexio