I use flashFirmware in blkwfdll. We have a build of the dll that I call from a .net application.
The same .dll has worked since 2018, but recently it's been failling in Windows 11.
A machine was updated to windows 11 enterprise build 26200.7705. After that, a new instantiation of Updater threw a "could not connect" error. The machine previously had no issues using blfwkdll.dll. The device instance of the the HID-compliant vendor-defined device that blfwkdll.dll connects can be seen properly connected in device manager.
Another laptop with build 26200.7705 works fine with blfwkdll.dll.
Are there other reports of issues? Is there a new version blfwkdll.dll I could try? I found the source code, but I'm having trouble building the .dll in such a way that my .net application can use it as a reference, as it has before. Thanks!
Hello @ryan_pearson ,
Thanks for your post. Sorry, blfwkdll is no longer maintained. You can try the blfwkdll located under the blhost directory. I'm not sure whether it is newer than the version you are currently using, but you can give it a try.
blhost download link: https://www.nxp.com/webapp/Download?colCode=blhost_2.6.7&appType=license&location=null
PATH: path\to\blhost\blhost_2.6.7\blhost_2.6.7\tools\common\blfwkdll
BR
Celeste
If blkfdll is no longer maintained, is there an alternative?
Hello @ryan_pearson ,
Thanks for your sharing, I am glad to hear that.
Wish a happy day.
BR
Celeste
I was able to fix this issue by changing Line 236 of hid-windows.c from:
DWORD share_mode = (enumerate) ? FILE_SHARE_READ | FILE_SHARE_WRITE : FILE_SHARE_READ;
to
DWORD share_mode = FILE_SHARE_READ | FILE_SHARE_WRITE;
This matches hidapi.