因变量定义位置不同有时出现非法错误

    技术2022-05-18  38

    1.异常源码样例:

    {

    ...fun();

    DWORD dwLSThreadID = 0;

    }

    2.异常表现:

    error C2275: 'DWORD' : illegal use of this type as an expression

    3.处理方法:

    {

    DWORD dwLSThreadID = 0;

    ...fun();

    }


    最新回复(0)