Skip to content


.net code n'stuff
< HyperCoder />
  • Code
  • Contact

Tag: C++/CLI

LNK2022, LNK1255 Errors in C++/CLI Projects

📅 November 14, 2018 | 👤 Admin | 🗁 Code

I kept getting LNK2022 and LNK1255 ‘link failed because of metadata’ errors while working on a C++/CLI project. Apparently, the order in which the include statements appear matters in this type of project. The remedy was to move the “#include <Windows.h>” statement to the very top.

C#C++/CLICLI

Recent Posts

  • Extracting metadata from Windows Property System – Part II
  • Extracting metadata from Windows Property System – Part I
  • CodeBlock for WordPress
  • Extracting shell icons and thumbnails (WPF)
  • Naked Tin WordPress Theme

Recent Comments

    Archives

    • June 2019
    • May 2019
    • November 2018
    • October 2014
    • July 2014

    Categories

    • Code
    • Downloads
    • Hardware
    • Review

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Powered by WordPress & Naked Tin Theme.
    sponsored