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文件,关键是你还不知道上哪去找)


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值