Resolving compile error "Interop type cannot be embedded. Use the applicable interface instead"

added by DotNetKicks
9/9/2019 5:34:24 PM

1 Kicks, 150 Views

Recently I've been experimenting with the Microsoft Windows Image Acquisition Library (WIA), a COM library that therefore requires the use of interop in .NET. In the course of testing some of the different features of this library I triggered a compile error I haven't come across for a long time.