用户操作
[即时聊天] [发私信] [加为好友]
c0ffee1982ID:c0ffee1982
12506次访问,排名9182(1)好友0人,关注者0
c0ffee1982的文章
原创 114 篇
翻译 0 篇
转载 0 篇
评论 2 篇
最近评论
DDGG:谢谢你的文章,没有这篇文章的话,我根本无法成功编译Greta。
但是用VB6编译上面例子里的Greta项目会有42个警告,请问这属于正常么?
谢谢!
antimatterworld:很好.很强大
文章分类
收藏
    相册
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    原创 使用CxImage (Using MFC by a Static Library + Realese or Debug 模式)收藏

    新一篇: 用DirectDraw编写动画程序 | 旧一篇: CxImage - The Code Project - Bitmaps & Pale

    使用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,郁闷!

     

     

    发表于 @ 2007年12月06日 16:52:00|评论(loading...)|编辑

    新一篇: 用DirectDraw编写动画程序 | 旧一篇: CxImage - The Code Project - Bitmaps & Pale

    评论:没有评论。

    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © c0ffee1982