使用CxImage (Using MFC by a Static Library + Realese or Debug 模式)
来源:互联网 发布:qpst找不到端口 编辑:程序博客网 时间:2024/05/15 23:53
使用CxImage (Using MFC by a Static Library + Realese or Debug 模式)
一.使用CxImage(Using MFC in a Static Library + Debug 模式)
1.解压压缩包,打开Demo2/Console.dsw,设置如下:
Project -> Setting -> Using MFC in a Static Library(注意是所有的项目都设置成这个)
2.确保c/c++ -> Code Generation -> Using run-time library 为 Mutithreaded
3.Debug模式下编译,搜索*.lib文件,复制到工程目录,包含进工程(当前工程也必须是Using MFC in a Static Library + Debug 模式),即可,包含方法(点击这里)
注意:生成的LIB文件,比上面要少一个....不知道为什么...少了consoled.lib,但并无大碍,不包含它即可
二.使用CxImage(Using MFC in a Static Library + Realese 模式)
1.解压压缩包,打开Demo2/Console.dsw,设置如下:
Project -> Setting -> Using MFC in a Static Library(注意是所有的项目都设置成这个)
2.确保c/c++ -> Code Generation -> Using run-time library 为 Mutithreaded
3.Realese模式下编译,搜索*.lib文件,复制到工程目录,包含进工程(当前工程也必须是Using MFC in a Static Library + Realese模式),即可,包含方法(点击这里)
注意:生成的LIB文件,同样是少一个,不包含它即可
参考:
Open the CxImage workspace with all the libraries. Select Project->Properties. Select each project in the list and make sure they all have the same settings for the MFC library (Not Using MFC for a static library). Then select the C/C++ tab and select Code Generation in the combo box. In the Use Run-time Library combo box, make sure all of them are set to Single-Threaded (or multi threaded depending on your settings). Then remake all the libraries and try to recompile your project
Thanks Kelly. It works! Thanks again!:) It turns out that CxImage static lib projects, in my case, are not set uniformly the same; some uses MFC shared library while some uses MFC static library
原文地址:http://www.codeguru.com/forum/archive/index.php/t-261681.html
还是多查资料好啊...还是英语好...不过小讨论居然是08-31-2003, 11:01 PM,郁闷!
- 使用CxImage (Using MFC by a Static Library + Realese or Debug 模式)
- Using a static library in Xcode
- Use MFC in a Static Library
- (转载)攻略:创建和使用动态链接库Walkthrough: Creating and Using a Static Library
- “Use MFC in a Static Library” -> CRT static
- Creating a Static Library with Xcode 4.6 or Higher
- 请选择【Use MFC in a Static Library】创建工程
- This is caused by library dependencies that have been compiled using Java 8 or above.
- This is caused by library dependencies that have been compiled using Java 8 or above.
- 问题:caused by library dependencies that have been compiled using Java 8 or above
- This is caused by library dependencies that have been compiled using Java 8 or above.
- This is caused by library dependencies that have been compiled using Java 8 or above
- Use MFC in a Static Library 和 use MFC in a Shared DLL 区别
- Use MFC in a Static Library 和 use MFC in a Shared DLL 的区别
- Static Dynamic Library Or Framework
- how to tell if a library contain debug symbols or not
- How to make Universal Static library (.a file) in iOs using xCode
- Use MFC in a Static Library,This may be due to a corruption of the heap....
- FCKeditor 介绍
- prototype.js中文手册
- Discuz!NT控件剖析 之 ColorPicker(颜色拾取) 和Calendar(日历) [原创: 附源码]
- 面向概念的编程
- Hibernate中使用自定义insert,update,delete语句需要注意的问题
- 使用CxImage (Using MFC by a Static Library + Realese or Debug 模式)
- 使用ajax技术无刷新动态调用股票信息
- 搜索引擎登录,网站分类目录登录地址
- 百感交集:一个IT人应该如何面对失业?
- Berkeley DB 概述
- 随机数的产生
- Linux 汇编语言开发指南(AT&T)
- js验证只有月和日的日期格式是否正确
- 《自己动手写操作系统》读书笔记(1)