CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    Posts
    1

    Linking Error While Converting Project from VC6.0 to VC2005

    Hello,

    I am trying to update a current project that was completed in VC6.0 to VS2005 Pro but I am getting this one error.

    I tried to google it and there was just one thread on it. The solutions in the thread did not work.

    The error I am getting is this:

    c:\program files\microsoft visual studio 8\vc\include\strstream(139) : error C2061: syntax error : identifier '_DebugHeapTag_func'



    the code on line 139 in strstream is:

    if (0 < _Inc)

    { // room to grow, increase size

    _Newsize += _Inc;

    _Ptr = _Palloc != 0 ? (char *)(*_Palloc)(_Newsize)

    : _NEW_CRT char[_Newsize]; //this is line 113

    }


    I tried to delete all obj and debug files from VS 6.0.

    I would be grateful for any help,
    -Harsimran

  2. #2
    Join Date
    Jan 2005
    Location
    germany
    Posts
    160

    Re: Linking Error While Converting Project from VC6.0 to VC2005

    Do you get the same in Release and Debug? Did you check a consistent usage of C-Runtime (MT vs. ST; Release vs. Debug)?

    regards
    HoM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured