hey all,

I find myself delving into the world of COM and Native code (ie C++)
and calling it from managed code. Something I've been tripped up by is
missing dll's. I was wondering if there's an easy way I've missed that
someone could share.

I'm writing some unit tests for code that wraps calls to these native
dll's but I've found adding references to the supplied C# wrapper
classes does not automagically copy the required dll's along with it.
I've had to resort to Post build copies of the required native dll's
and their dependencies, which once I've done works fine.

Is that the best practice, or have i missed something? I've managed to
avoid this until now (and to be honest am having fun with it. I feel
like a REAL programmer. lol)

cheers,
Stephen

Reply via email to