c# - Generated Interop Assembly from a C++ COM dll gives build reference error -
i trying migrate 32 bit application x64bit, in application have c++ com dll have build in x64 configuration. generating interop assembly of com c++ dll using command
tlbimp faacom.dll /out:interop.faacomlib.dll
i have c# project (configuration - cpu) in adding reference of above interop dll. when try build c# project gives build error when pointing correct path:
error 1 type or namespace name 'faacomlib' not found (are missing using directive or assembly reference?)
but when use same interop dll in c# project generated 32bit compiled version of c++ com dll not build error.
i have tried generating interop dll using x64 tlbimp.exe not works.
any suggestions. please help...!!!
thanks in advance
Comments
Post a Comment