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.
2019 Blog Posts Articles and information on C# and .NET development topics
Although officially the Canon CanoScan LiDE 100 scanner is not supported on Windows 10, 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.
No detailed blog post, just a screenshot that neatly echo's my ongoing frustration with Resharper
A brief note on a small change made to Visual Studio 2019 that may be helpful for debugging .NET Core console applications.
A quick article on pulling cookies from Internet Explorer or the WebBrowser control, useful for if you want to make custom HTTP requests reusing cookies from existing sessions
An overview of how to use the
IMessageFilter interface to intercept Windows Messages within your application.
The usual round up of the different software tools used by Cyotek over the past year.