"File contains invalid tabs .pdata" when creating 64-bit dll

I am currently migrating from 32-bit to 64-bit and encounter a link error when trying to create a 64-bit C ++ managed DLL that references the unmanaged C ++. Lib file that I also created:

LNK1223: invalid or corrupt file: file contains invalid .pdata fees

So far, I have found that this error only occurs when creating for RISC machines, but in my situation this is not so. Does anyone know about this error and possible problems that may cause it?

Addition: Unmanaged C ++ libraries are compiled using the Intel compiler, and a managed DLL is created using the Microsoft compiler.

Addition # 2: The DLL compiles just fine when the lib was compiled using the Microsoft compiler. This does not explain why the compiler even looks at lib.pdata p>

+3
source share
1 answer

When I migrated my unmanaged project from vs2010 to vs2012, I also met error LNK1223.

I fixed this by removing the / GL compiler flag.

Hope this set of methods is for you.

0
source

Source: https://habr.com/ru/post/1755054/