duilib duilib concise tutorial Getting Started tutorial environment configuration 2.VS

Since the entry tutorial , of course, was the basis of points, because when searching duilib relevant information, found some little friends everywhere compilation errors, and path configuration errors, etc., and people do not know SVN, and then download a file manually. In fact it, positioning duilib seems to be this: there are certain basic interface, understand MFC, WTL, windows message mechanism and so on. Otherwise, even if the environment is configured, you see Demo also around the halo ~ (^ o ^) / ~
    so there is no basis for children's shoes, please lay the foundation, or to learn more duilib would go crooked road, we recommend the following information :
    Books: " Windows programming "
    tutorial: Sun Xin video (which I just downloaded, but not seen, but good reviews)
    website: internationally renowned website  (foreign websites: now a lot better than codeguru, though in English, but there are graphic descriptions, plus in front of translation software, the source code no secret)
               introductory programming network (domestic websites: I simply do not understand the university MFC application is doing QQ, simply a result of a check data control, depends on it)
               VC knowledge base (domestic websites: now some to the charges)
               other sites will not list them, because later to find information directly on codeproject, so many sites have long remember.
    The most important point : use of search engines, as long searches, the above information is easily found out, this is the first element.

    First, the following first introduce the use of SVN, how to download and install I do not speak ~ O (∩_∩) O ~, directly into the use phase:
    1, in the Explorer right-click any blank menu, select [SVN Checkout] (the Chinese version of SVN select [detection])
     

    2, SVN address in the URL field, enter the duilib: http://duilib.googlecode.com/svn / Trunk , version 387
     
    to download code to duilib as:
     

    two, SVN is used to introduce finished, then the following duilib the environment configuration:
    1, open duilib.sln
     

    2, [the solution] on the right choice duilib [project] is set to start
     

    3, in the system menu to select [generate] in [batch Build]
     

    4, first click on [select], then click [generate] to generate dll and Demo
     

    5, you will find some compilation errors, it does not matter this is just one project in Unicode compiler does not pass it, but we can see how byte exe effect on the line.
    Tucao: As the official group will not care about these details, so this bug has been there. It had wanted to change this bug, but later found Demo too messy, I need to do is far more important, but for starters, it's really just a minor problem. And sent a another bug fixes to the official, a long time did not go to SVN merge the above, it can not do anything. (In fact, these are the lazy excuse for ~ (^ o ^) / ~   )
    under Tips, official attitudes there are many groups, such as Objective question is inspired, rather than solving existing difficulties], [respected first who raised a question of solving the problem] and so on, if the small partners to make suggestions of what is likely to be angry back group (said to be many times similar incidents), so learn the group common attitude: Please do not care about those [details] ~ (^ o ^) / ~
    For an open source project, the author's spirit is very admirable, this is better than most open source libraries and commercial libraries, can be described as collection of many years of hard work, now open up, but was heavenly environment XX, so the author is no longer maintained this library we are very understandable.
    But still I want to have no contact with Unicode little friends can change this compilation errors, and practiced hand but also fixes a bug, fully staffed O ~ (∩ _ ∩) O ~
     

    6, although some compilation errors, but has been generated the dll, and you can see all kinds of Demo, small partners to open exe try the effect of it in the bin directory ^ _ ^        7, configuration VS environment (in order to take care of the novice, the direct use of the SVN code directory)     menu of VS , select [tools] - [options] - [projects and solutions] - [VC ++ directory],     the [include file] to add a directory, its path is [Duilib] path, add the directory [libraries], the its path is the path [Lib]     where [bin] directory is dll, exe directory need to be copied to the back when their new project          8. after you configure the environment, you can start using duilib friends.     How new construction will not say, win32, MFC project can be.     Keep in mind that the need to dll (dll in the [bin] directory) exe copied to the directory of your project, do not understand simply put four dll are placed in the Debug and Release yourself project it.     The following diagram, the four dll into exe directory under their own engineering     environment configuration tutorial is over, do not know if or inappropriate, please leave a message directly in the comments ~ (^ O ^) / ~ ==== ======================================
       



     


        






     


     





Recently Google was a wall. So, if you can not find duilib thread library, or contact the administrator. Add or exchange group.

Guess you like

Origin www.cnblogs.com/blogpro/p/11427034.html