Thread: Getting 'LINK : error : Internal error during SetupPhase' when I execute in VisualC++

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    14

    Unhappy Getting 'LINK : error : Internal error during SetupPhase' when I execute in VisualC++

    I've written a small program that stores information from a list in a .txt file to a structure, which can then be looked up through an array of pointers.
    I finished writing a basic test version of this and compiled it: 0 errors 0 warnings
    Then when I tried to execute the .exe file I got this error:

    Code:
    --------------------Configuration: lab1 - Win32 Debug--------------------
    Linking...
    LINK : error : Internal error during SetupPhase
      ExceptionCode            = C0000005
      ExceptionFlags           = 00000000
      ExceptionAddress         = 00436134
      NumberParameters         = 00000002
      ExceptionInformation[ 0] = 00000000
      ExceptionInformation[ 1] = 00000018
    CONTEXT:
      Eax    = 00000000  Esp    = 0013F598
      Ebx    = 3FFF9650  Ebp    = 3FFF2E4C
      Ecx    = 00000000  Esi    = 3FFF4030
      Edx    = 3587DA85  Edi    = 00502C49
      Eip    = 00436134  EFlags = 00010202
      SegCs  = 0000001B  SegDs  = 00000023
      SegSs  = 00000023  SegEs  = 00000023
      SegFs  = 0000003B  SegGs  = 00000000
      Dr0    = 0013F598  Dr3    = 3FFF9650
      Dr1    = 3FFF2E4C  Dr6    = 00000000
      Dr2    = 00000000  Dr7    = 00000000
    Error executing link.exe.
    Tool execution canceled by user.
    I'm using the Microsoft Visual C++ compiler, anyone know how I can fix this problem?
    I've executed plenty of programs before without this happening. This error is now happening whenever I try to execute any .exe file i've made.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well pasting the error message into a search engine, and doing a bit of reading suggests that you probably need to apply the latest service pack for your compiler.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linked List, Please Help!
    By CodeMonkeyZ in forum C Programming
    Replies: 5
    Last Post: 02-17-2009, 06:23 AM
  2. I'm confused about link lists (again)
    By JFonseka in forum C Programming
    Replies: 4
    Last Post: 06-13-2008, 08:13 PM
  3. Function to check memory left from malloc and free?
    By Lechx in forum C Programming
    Replies: 4
    Last Post: 04-24-2006, 05:45 AM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM