Thread: Managed C++ Problem

  1. #1

    Question Managed C++ Problem

    I am using Visual C++.NET 2002 with the .NET framework version 1.1 and every time I try to compile a managed C++ application, even if using only the code the Application Wizard created, I get an error. Just to let you know I have also downloaded the VC++.NET 2003 toolkit w/ optimizations, and can comile managed applications fine using the command line compiler it provides. I also tried pointing .NET 2002's IDE to the tools from the toolkit, but I sitll get the error.

    The error is:
    error LNK2001: unresolved external symbol __check_commonlanguageruntime_version

    I checked the options in the compiler and I have /clr set. Thanks to any of those who answer.

  2. #2
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    My guess is that you are linking old lib files.. You need to compile them using your current version again to be able to use them...

  3. #3
    Well when I have the VS IDE pointing to the original bin, lib, and include folder it came with, shouldn't the managed code compile without a problem?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  2. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  3. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  4. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  5. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM