winforms icon indicating copy to clipboard operation
winforms copied to clipboard

We need tests for calling COM interface methods from c++

Open hughbe opened this issue 6 years ago • 0 comments

We need tests for various interfaces implemented by managed classes (e.g. IOleControlSite etc)

The best way to test this would be to implement tests in c++ and PInvoke them passing the managed class as an interface as an a IntPtr to unmanaged code. We’d then call functions from c++ and test things like HRESULTS etc

I have a prototype but not sure how to integrate a test c++ dll into the product infrastructure

hughbe avatar Sep 08 '19 18:09 hughbe