Sign in to follow this  

unmanaged dll debugging

This topic is 2549 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

heey all,

I'm creating an .NET wrapper for a unmanaged library I wrote.
The problem is that I'm having trouble debugging the code. If I set breakpoints in the library to see if the parameters from the .NET wrapper are pass right, the debugger never breaks at them.

How can I get these breakpoints to work?

I'm using visual studio 2010

The setup looks like this:
Test .NET application -> "TestNetApp.exe" - uses the classes from "Fluid.net.dll"
.Net Wrapper library -> "Fluid.net.dll" - Call's the C wrapper functions using P/invoke
Unmanaged C++ glue code library -> "FluidDotMetWrapper.dll" - Defines C wrapper functions .NET can call and work with ("Object_new", "Object_DoSomething" like functions).
UnmangedLibrary -> "Fluid2.dll" - The dll with the classes and functions I want to expose to .NET

thanks in advance,
assainator

Share this post


Link to post
Share on other sites

This topic is 2549 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this