jpatrick62
Well-known member
Recently I had a need to implement RawHid for a project I was working on. Specifically needed to configure a NRF24L01 radio channel and power setting that my Teensy 3.1 was using. So I created
a Windows program to do this and tried the RawHid dll to talk to the Teensy. Unfortunately rawhid_open() throws an BadImageFormatException
{"An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"}
which I assume is because the dll was compiled for 32 bit Windows and I was using 64 bit.
Has anyone recompiled this dll for 64 bit? This would save me the trouble of rooting for the DDK as it appears I need a file from the Win DDK.
Anyone else run across this?
a Windows program to do this and tried the RawHid dll to talk to the Teensy. Unfortunately rawhid_open() throws an BadImageFormatException
{"An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"}
which I assume is because the dll was compiled for 32 bit Windows and I was using 64 bit.
Has anyone recompiled this dll for 64 bit? This would save me the trouble of rooting for the DDK as it appears I need a file from the Win DDK.
Anyone else run across this?