Skip to content

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

@hughbe

Description

@hughbe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    test-enhancementImprovements of test source code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions