cximage702 VC6.0

打开CxImageFull.dsw

batch build,选中所有的debug和release,然后build


用法:

在test2Dlg.h中


#ifdef _DEBUG

#include "D:/test/VC6.0/CxImage/cximage702_full/CxImage/ximage.h"  //ddebug和release头文件应该是一样的吧

#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/png/Debug/png.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/raw/Debug/libdcr.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/jpeg/Debug/jpeg.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/zlib/Debug/zlib.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/tiff/Debug/tiff.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/jasper/Debug/jasper.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/CxImage/Debug/cximage.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/mng/Debug/mng.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/libpsd/Debug/libpsd.lib")

#else

#include "D:/test/VC6.0/CxImage/cximage702_full/CxImage/ximage.h"  //ddebug和release头文件应该是一样的吧

#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/png/Release/png.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/raw/Release/libdcr.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/jpeg/Release/jpeg.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/zlib/Release/zlib.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/tiff/Release/tiff.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/jasper/Release/jasper.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/CxImage/Release/cximage.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/mng/Release/mng.lib")
#pragma comment(lib, "D:/test/VC6.0/CxImage/cximage702_full/libpsd/Release/libpsd.lib")

#endif


通过经上方式就可以自如使用了,可以随意切换debug和release版本并且可以进行调试(原来的做法是把lib拷出来,但总提示缺少vc60.pdb文件,关键是你还不知道上哪去找)


你可能感兴趣的:(cximage702 VC6.0)