Board logo

Subject: TCnBitMap在bcb 6中怎么使用? [Print This Page]

Author: flyang0931    Time: 2007-11-7 22:50     Subject: TCnBitMap在bcb 6中怎么使用?

包含的头文件
#include <CnGraphics.hpp>
#include <CnCommon.hpp>
#include <CnVCLBase.hpp>
#include <CnImage.hpp>

TCnBitMap *CNBMPsrc,*CNBMPdes;
  CNBMPsrc = new TCnBitmap();
  CNBMPdes = new TCnBitmap();
错误提示
[C++ Error] ImgProc.cpp(1354): E2451 Undefined symbol 'TCnBitMap'
[C++ Error] ImgProc.cpp(1354): E2451 Undefined symbol 'CNBMPsrc'
[C++ Error] ImgProc.cpp(1354): E2451 Undefined symbol 'CNBMPdes'
[C++ Error] ImgProc.cpp(1358): E2451 Undefined symbol 'cnBMPsrc'
[C++ Error] ImgProc.cpp(1360): E2451 Undefined symbol 'cnBMPdes'
Author: Passion    Time: 2007-11-7 23:02

移动到Cnpack组件包板块。
Author: zjy    Time: 2007-11-8 16:50     Subject: 应该是 TCnBitmap 吧

TCnBitmap 和 TCnBitMap 大小写不一样,在 C 里头是两个标识符。




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0