我在执行线程后,要结束线程时出现以下错误。
我用的是Treade1.terminate.执行到这一句时就出错。---------------------------
Information
---------------------------
Project .\exe\RemoteII.exe faulted with message: 'access violation at 0x00421584: write of address 0x77f87aad'. Process Stopped. Use Step or Run to continue.
---------------------------
OK
---------------------------
我用的是Treade1.terminate.执行到这一句时就出错。---------------------------
Information
---------------------------
Project .\exe\RemoteII.exe faulted with message: 'access violation at 0x00421584: write of address 0x77f87aad'. Process Stopped. Use Step or Run to continue.
---------------------------
OK
---------------------------
要是有应该考虑同步关系用Synchronize