|
请高手指点error C2440: '=' : cannot convert from 'void *' to 'unsigned char *'
[复制链接]
pNew = LocalReAlloc (
pPtr,
dwSize,
LMEM_MOVEABLE);
Compiling...
Chap10.cpp
E:\WORKING\WIN CE\Chap10\Chap10.cpp(219) : error C2440: '=' : cannot convert from 'void *' to 'unsigned char *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
Error executing cl.exe.
Chap10.exe - 1 error(s), 0 warning(s)
是EVC4.0的开发环境.请高手指点
|
|