You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
We need tests for calling COM interface methods from c++ #1817
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
Activity
JeremyKuhne commentedon Aug 15, 2023
We can and now do this in-situ by leveraging the
ComHelpersclass and direct native access through our CsWin32 generated COM structs.