我使用堆栈,结果才压入300多个,就报错了!错误如下:Thread creation error: 存储空间不足,无法处理此命令我不知道是什么原因阿?

解决方案 »

  1.   

    菜单:
    Project
    OptionsLinker页
    Memory size框
    看设置
      

  2.   

    没有仔细看你的错误,提示,应该是线程的栈设置不够,不管项目的事情,Sorry
      

  3.   

    HANDLE CreateThread(    LPSECURITY_ATTRIBUTES lpThreadAttributes, // pointer to thread security attributes  
        DWORD dwStackSize, // initial thread stack size, in bytes  <<---
        LPTHREAD_START_ROUTINE lpStartAddress, // pointer to thread function 
        LPVOID lpParameter, // argument for new thread 
        DWORD dwCreationFlags, // creation flags 
        LPDWORD lpThreadId  // pointer to returned thread identifier 
       );