When working with COM interop libraries you may receive the compile error "Interop type cannot be embedded. Use the applicable interface instead". This article describes two common causes of this error and how to resolve it.
Blog Articles and information on C# and .NET development topics
The Cyotek Development Blog has moved - please find it at https://devblog.cyotek.com.
Although these pages remain accessible, some content may not display correctly in future as the new blog evolves.
Although officially the Canon CanoScan LiDE 100 scanner is not supported on Windows 10 or Windows 11, I have found that it is fully functional. This article describes the versions of Windows I have tested the scanner with along with any observations.
A review of the book "The Ray Tracer Challenge", by Jamis Buck.
A brief note on assemblies compiled with Visual Studio 2019 and their compatibility with older Visual Studio tooling.
How to use a TypeConverter to provide editing of immutable structs that are properties of containing objects via a PropertyGrid.
The Windows Forms
TextBox control doesn't offer an out of the box method for setting tabstops within the control,
this article describes how to achieve this via p/invoke.
A note on changes that Code42 on enforcing on users of their CrashPlan for Small Business service
A quick article on configuring NDepend projects to use external rule files.
Almost two years ago I wrote a post describing how to translate text using Azure cognitive services, however the API it uses is to be switched off and so I needed to migrate from the version 2 API to version 3. This post describes how I migrated my existing
A brief article on Exif orientation attributes and how to handle them in your .NET applications.