帮忙求助
gsch 2002-03-15 11:48:09 我刚开始学习windows编程, 按书上的例子输入了一个程序,可是编译出错, 是怎么回事
wndclass.hbrBackground = GetStockObject( WHITE_BRUSH );
出错信息是:
error C2440: '=' : cannot convert from 'void *' to 'struct HBRUSH__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast