Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) #7

Open
Kshitiz-Bansal opened this issue May 19, 2022 · 0 comments

Comments

@Kshitiz-Bansal
Copy link

Hi guys. I am trying to use this python example project to understand the API's usage. After putting in the key and the license, when I run the Python_Demo_MulitThreaded.py file, It gives me this error.

Could someone please help me resolve this error?

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at DelsysAPI.Utils.Trigno.SLUSBXpressDLL_WIN.SI_GetNumDevices(UInt32& lpdwNumDevices)
   at DelsysAPI.Utils.Trigno.SLUSBXpressDLL.SI_GetNumDevices(Int32& lpdwNumDevices)
   at DelsysAPI.Utils.Trigno.BaseComms.CountConnectedBases()
   at DelsysAPI.Pipelines.Pipeline.InitDataSource(IDelsysDevice ds)
   at DelsysAPI.Pipelines.Pipeline..ctor(IDelsysDevice dev)

From googling, I found out that it may be a 32 - 64 bits mismatch. And honestly, I don't understand how to solve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant