Managed C++ Problem

This is a discussion on Managed C++ Problem within the C++ Programming forums, part of the General Programming Boards category; I am using Visual C++.NET 2002 with the .NET framework version 1.1 and every time I try to compile a ...

  1. #1
    Perverted unanimous's Avatar
    Join Date
    Oct 2001
    Posts
    336

    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.
    Give me a bad reputation!!!

  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
    Perverted unanimous's Avatar
    Join Date
    Oct 2001
    Posts
    336
    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?
    Give me a bad reputation!!!

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, 09:38 AM
  3. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  4. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM
  5. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21