Windows 10 woes

I'm building a windows forms app in C# which uses a native dll to interface with windows shell functions. This dll has worked for years with previous operating systems. Windows 7 (64) is no problem. Now that I've migrated to Win 10, I'm getting an hresult of 0x80040154 REGDB_E_CLASSNOTREG result.

Some additional info: the dll is written in C++ but I'm posting here because I'm wondering if C# devs know of any tricks to get past this, and the method which throws the error is IShellFolder::GetUIObjectOf, from Shell32.dll.

I already tried compiling the project (C#) for x86 with no luck.

by Nanopants via /r/csharp

Leave a Reply