请问这是什么错误,如何产生的?
--------------------Configuration: Phone - Win32 Debug--------------------
Linking...
LINK : error : Internal error during SetupPhase
  ExceptionCode            = C0000005
  ExceptionFlags           = 00000000
  ExceptionAddress         = 7800F030
  NumberParameters         = 00000002
  ExceptionInformation[ 0] = 00000000
  ExceptionInformation[ 1] = 00000000
CONTEXT:
  Eax    = FFFFFFFF  Esp    = 0012F5EC
  Ebx    = 00000200  Ebp    = 0012F604
  Ecx    = 00000000  Esi    = 00342B80
  Edx    = 00342B60  Edi    = 00000000
  Eip    = 7800F030  EFlags = 00010206
  SegCs  = 0000001B  SegDs  = 00000023
  SegSs  = 00000023  SegEs  = 00000023
  SegFs  = 00000038  SegGs  = 00000000
  Dr0    = 0012F5EC  Dr3    = 00000200
  Dr1    = 0012F604  Dr6    = 00000000
  Dr2    = 00000000  Dr7    = 00000000
Error executing link.exe.
Tool execution canceled by user.

解决方案 »

  1.   

    ExceptionCode            = C0000005
    是不是拒绝访问,重起一下看看
      

  2.   

    AfxBeginThread和CreateThread有何区别(用VC6),用哪个比较好
    我对一个语音卡编程,想用两个工作线程扫描两个通道状态,线程代码如下://全局变量(程序名为Phone)
    CPhoneApp theApp;
    CWinThread* _pThread0 ;
    CWinThread* _pThread1 ;//线程函数申明
    class CPhoneDoc : public CDocument
    {
        ......
    public:
        static UINT ThreadFunc(LPVOID lParam);
        ......
    }BOOL CPhoneApp::InitInstance()
    {
        .....
        // The one and only window has been initialized, so show and update it.
        m_pMainWnd->ShowWindow(SW_SHOW);
        m_pMainWnd->UpdateWindow();    //创建线程(ThreadFunc是我的线称函数)
        _pThread0 = AfxBeginThread(CPhoneDoc::ThreadFunc,(LPVOID)0);
        _pThread1 = AfxBeginThread(CPhoneDoc::ThreadFunc,(LPVOID)1);    _pThread0->SetThreadPriority(THREAD_PRIORITY_NORMAL);
        _pThread1->SetThreadPriority(THREAD_PRIORITY_NORMAL);    return TRUE;
    }哪位大侠帮帮我,急UP者有分,分不够可再加
      

  3.   

    Solution:  
    =========
    Set the /INCREMENTAL flag as NOThis error is because of the incremental linking which causes internal 
    stack over flow.
    The solution is to set the switch /incremental:no.