vs2013
LPVOID pShellNewBuffer = malloc(10); memcpy(pShellNewBuffer,0,10);
这有啥毛病吗?
memcpy(目的地址,源地址,拷贝长度), 你这里源地址为0
刚刚发现memset和memcpy搞混了,谢谢