W8137 Deprecated #import directive encountered. Please use the TLIBIMP utility instead. (C++)
Go Up to Compiler Errors And Warnings (C++) Index
The #import directive does not import type libraries in the same way that the Type Library Editor and TLIBIMP.EXE do. The #import
directive is deprecated, and you should use TLIBIMP instead.
This warning is enabled by default. To disable this warning, pass -w-tlb
or -w-8137
to the compiler.
For further details, including code snippets, see Migrating C++ Code from #import to TLIBIMP.EXE.