Can I use the Duilib interface library in VC6.0?

Source: Internet
Author: User

Duilib Library Source code is compiled under VS2010, generally applicable to vs2008 and above version development use, then duilib can be used in vc6.0 project? How do I use the Duilib library in vc6.0? Today, due to work requirements, need to use the Duilib library under vc6.0, Baidu for a long time, did not, so I tried it!1, in vc6.0, a new MFC dialog box project, I use the MFC dialog box, used to do so. 2. Copy the Duilib header file and Lib reference library to the project directory and refer to it. 3, New Duidlg class, this class is defined by itself, corresponding to the window class in this duilib. Compile! Found there will be some bug! The primary error is the "Gdiplus.h" error, that is, the header file was not found: Gdiplus.h.gdiplus.h:no such file or directoryThis is because in the VS2008 version, the automatic integration of the Windows SDK, which contains GDI-related header files, in the vs2003 and vc6.0 and other low versions, to use, you have to use the SDK installation. So, it's down to the Internet.GDiplusDevelopment SDK files. Added to the project, compiled for use. Prompt error:e:\code\duilibinvc6\duilib\control\uiwebbrowser.h: Error c2061:syntax error:identifier ' __rpc__out 'e:\code\duilibinvc6\duilib\control\uiwebbrowser.h (): Error c2061:syntax error:identifier ' __rpc__deref_out_ Opt 'e:\code\duilibinvc6\duilib\control\uiwebbrowser.h: Error c2061:syntax error:identifier ' __rpc__in 'E:\code\duilibinvc6\duilib\control\uiwebbrowser.h (102): Error c2061:syntax error:identifier ' __rpc__in_opt ' E:\code\duilibinvc6\duilib\control\uiwebbrowser.h (103): Error c2061:syntax error:identifier ' __rpc__in_opt ' Viewed below, which is in"Uilib.h"header file, reference the#include "control/uiwebbrowser.h"The browser control supports the header file caused by the direct comment out of this line, because my code is useless. If you want to use it, you can add your own customizations. Re-compile, ok! OK! Here, affixed to my project, just for the use of Duilib, a simple under the VC6.0, MFC uses the Duilib example. Demo

vc6.0 interface is very familiar with it!

SOURCE Download:GDI Development SDK Download:Gdiplus.zipsource Download: http://download.csdn.net/detail/feb_li/9343769+

Http://files.cnblogs.com/files/findumars/GDiplus.zip

Http://www.vcmfc.com/portal.php?mod=view&aid=21

Can I use the Duilib interface library in VC6.0?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.