Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

C# error message "An attempt was made to load a program with an incorrect format"

Status
Not open for further replies.

em2018

Newbie level 6
Joined
Mar 8, 2018
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
115
C# error message "An attempt was made to load a program with an incorrect format"

Hi everyone,

I just recieved this error message from a C# program I am trying to run in visual studio for a RFID reader module:

"openresult =StaticClassReaderB.AutoOpenComPort(ref port,ref fComAdr,fBaud,ref frmcomportindex);"

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

Can anyone offer a solution why this must be happening? I have tried using different CPU settings.

Thanks,
Em
 

Re: C# error message "An attempt was made to load a program with an incorrect format"

Hello,

you have to reveal more code if you want somebody can help you.

Regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top