Can't acess 64bit dll in VSTO COM addin

-1

I want to access mydll.64 in a visual studio 2017 VSTO project but its not working and displaying some error like..

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


************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at ExcelAddIn1.clsDLLBasedConv.CUGetTotalPQs()
   at ExcelAddIn1.Form1.LoadPhysicalQuantities() 

Please help me to solve this issue.

visual-studio
dll
com
vsto
asked on Stack Overflow Jan 24, 2020 by AteebKayani • edited Jan 24, 2020 by hongsy

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0