|
我在一个工程里要载入一个位图,在projectview.cpp中加入代码如下:
_LIT (filename, "z:\\system\\apps\\GraphicsShell\\test.mbm");
CFbsBitmap* bitmap = new (ELeave) CFbsBitmap();
CleanupStack: ushL(bitmap);
User: eaveIfError(bitmap->Load(filename,bitmapID));
错误提示:
1.error C2040: 'bitmap' : 'class CFbsBitmap *' differs in levels of indirection from 'class CFbsBitmap'
2.error C2819: type 'CFbsBitmap' does not have an overloaded member 'operator ->'
3.error C2227: left of '->Load' must point to class/struct/union
对于user的头文件和lib在.mmp和project里都加了,并且又重新编译了。
请大家不吝赐教。谢谢!
[em7] [em7] [em24] [em24] |
|