Jun 3, 2018 #1 E 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)' " Click to expand... Can anyone offer a solution why this must be happening? I have tried using different CPU settings. Thanks, Em
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)' " Click to expand... Can anyone offer a solution why this must be happening? I have tried using different CPU settings. Thanks, Em
Jun 5, 2018 #2 FlyingDutch Advanced Member level 1 Joined Dec 16, 2017 Messages 457 Helped 45 Reputation 92 Reaction score 55 Trophy points 28 Location Bydgoszcz - Poland Activity points 4,959 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
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