since
At 16 o'clock in the afternoon of March 8, 2005, "Microsoft Technologies" in the Ten Years of MFC "was published in the 9CBS forum in the way, causing many netizens to have praise, making the author sincerely, considering that the paste is too long (the popularity index is 5000), therefore transferred to blog, many netizens have had to omit the comments of this post, thank you here! In order to thank the netizens, I hope that I will have a new post in the future to reward the netizen to my encouragement, once again thank you!
I found MFC I found that MFC was probably in 1993. At that time, Visual C has not yet available, then Microsoft's C compiler is still very weak, the official name is Microsoft C / C 7.0, the MFC version is 1.0, almost no cause What is the counter, the best C development environment during that period is Borland C 3.1, in fact, probably in November 1992, an accidental opportunity, I appreciate the power of Borland, I can't remember, I saw a wonderful Integrated development environment, Turbo C 3.0 for Windows, this is the first C integrated development environment in my memory in my memory. The exciting feeling is still remembering, it is welcome, at least C at the time. In terms of Microsoft and Borland are not a level, Borland is obviously higher than Microsoft, Borland's products, leaving me a deep impression. At that time, Microsoft's best development platform was Visual Basic 3.0, while Borland's Delphi is in the development phase (Delphi's code name is: "VB Killer") ..., I remembered the past more than ten years ago, I can't help but feel excited . For more than a decade, I have used many development environments, about Visual Basic, I have used the earliest DOS version, the Windows version of Visual Basic I basically used, I still remember the number of discs of each version of VB installation disk disk . Similarly, I have used all versions of Delphi, especially Delphi 2.0, leaving me an excellent impression. Delphi provides a truly compiled visual development environment, then (around 1994), Delphi can develop a dynamic link library with the GUI, you can imagine, you can load a delphi form in Microsoft Access 2.0 applications, program interaction The feeling is really great. Borland C is a regret that I can't erase in my heart. From Turbo C to C Builder, I deeply experience Borland's brilliant and helpless, Delphi walks from VB Killer to VB escort (you can imagine ActiveX control development technology in step from Delphi) There are many bovine, early VB has soil, early VB cannot develop dynamic link libraries, so it is unable to develop ActiveX controls, think of it is really inexplicably), Borland C fate is also unjust. Borland C 3.1 will never have, in the development of more than ten years, I have put a lot of energy on C , Borland C has brought me countless excitement, but this classic name is in competing with Microsoft. Gradually lapse ....
The appearance of MFC4.0 makes people feel that Microsoft caught up in C , and the MFC of this version was Win95 launched in Visual C 4 (Microsoft did not have VC3, VC4 previous versions were 2.2, 2.1, 2.0, 1.51 1.5, 1.0). Perhaps the disappointment of the subconscious of Borland C , I don't know the MFC, and when VC 4.2 is launched, I bought this compiler throughout the channel. About Microsoft About Microsoft, countless people want to say to this name, this annoying name! I don't know if I like or hate. You are a programmer, your mind may be due to Microsoft's existence, even if you use Linux, you may also be because of Microsoft technical factors. How many years come, this name appears every day, I, in front of him, because you have to face the existence of Windows, but can you hate this name? Do you hate this name? I don't know if I have numb this name. In 1998, I personally booked a Microsoft MSDN Universal version. I started to comprehensively exposure to this company's development technology. You can imagine that when you face hundreds of technology discs in 1998, you know what is called "thickness". We sometimes say that when "catching" or "reaching" Microsoft's level, we may lack the true understanding of this company "thickness". Entering MSDN, I feel that Microsoft is not a "company", but (or being formed) a "society". At that time, the famous technical website http://www.codeguru.com All technical information was downloadable (That time http://www.codeguru.com provides the entire website content download service, about
Around 3M), the famous www.codeproject.com does not exist. At the beginning, I have always laid in technology comparison Microsoft and Borland, which should say that Borland is not weak than Microsoft, even if someone holds this view, but why borland goes today? And the Microsoft is in the day? A few years ago, how fierce these two companies is, but now there is another "cooperation" scene? Maybe many people think that if Borland does not exist, isn't it more powerful to Microsoft? In fact, Microsoft may be proficient in Chinese history, read "Three Kingdoms", very well, China, in fact, in the form of Borland, is very advantageous for Microsoft, at least in the form of competitors, and in fact Borland has been controlled Microsoft (Microsoft is a big shareholder of Borland). You can see some subtle phenomena: Borland provides a lot of talents for Microsoft, including the Delphi chief designer and the core member of the Borland C compiler; also provides powerful escort services for Microsoft .NET (see C # Builder , Delphi .NET). In 1998, Microsoft's COM technology is basically mature. This technology makes people feel shocking. At that time, Microsoft's opponents made "openDoc" for confrontation "COM", you see several members of the "OpenDoc" camp: IBM, Apple, Borland Novell, you will feel that this camp is very luxurious, powerful. However, the result is a powerful, "OpenDOC" has no death, and "COM" is still vibrant. Some people say "COM" is not falling, then I don't know how Microsoft. In the competition with "OpenDoc", "COM" is a thorough victory. In the competition with "Java", "COM" has evolved in this process, and Microsoft reflects powerful absorption capacity in this process, and cannot be imagined. Tough. .NET is just a "alias" of COM. For an experienced C programmer, .net is evolution of COM, and Microsoft internal .NET is "COM
3.0 "(OLE2 is COM 2.0), and" CLR "is an unscrupulous COM object. Someone asked me, since the Newton era laid the foundation (think about the famous Newton - Leibniz formula), a few Today, today, mathematics still study "calculus"? Availability is still studying! "Corporate" is a function of the function, modern "cantocales" is targeted "Fiber", fiber bus "" "" "" "" "" "" "" "" It is the winner of the Vilz Prize, and Microsoft is implementing "COM" into ".NET" as "differential" evolution to "differential flow". Analyze COM and Java from the perspective of scientific concept, may come more comprehensive, Accurate, Java may be more mature, but you see that Microsoft is impossible to catch up. Microsoft is a strong Qin, the Warring States Period, and the Qin State of the Warring States, adopted "Far-catching" Weakly and strong "," Today, today's Microsoft is also like this. When VB1.0, Microsoft launched "VBX" control technology, and many small companies have survive, Microsoft does not develop "VBX" components, the same "VBX" evolution When "OCX", Microsoft is not very powerful, but this kind of trial is a response to many small companies. In 1997, Microsoft Office 97, 1998 Microsoft launched Visual Studio 6.0, giving a lot of medium, small companies provide survival, development opportunities For example, Microsoft Office 97 integrates Visual Basic for Application 5.0, which makes hundreds of software developers to sign VBA technology license agreements with Microsoft. Even if Autodesk has signed this agreement with Microsoft, this protocol makes each A license for a user-friendly product for Microsoft pays 40 $, if you understand the VSIP (Visual Studio Integration Protocol protocol, and how many companies signed the VSIP protocol, you really feel the terrible Microsoft; Microsoft Office 97, Visual Studio 6.0 user interface is very beautiful, why Microsoft's own development tool is not available Similar software components? You have seen many third-party Microsoft allies have launched their interface libraries to imitate Microsoft, they will not be against Microsoft because they have formed an ecotrial circle that makes Microsoft and these companies to survive.
How much is Microsoft's technical reserves, people outside Microsoft are difficult to say, Microsoft China does not necessarily understand how much, in 1999, when the WTL class library has just emerged, people hope that WTL will be officially supported, or authorize to a Microsoft. A company (you can imagine the Borland C 5.0 built-in ActiveX development mechanism is based on Microsoft ATL class library?), Until today, WTL is still afraid, we fully believe that if Microsoft promotes WTL, WTL is completely popular, but Microsoft does not lack similar technologies, similar libraries include BCL (Base Control Library, a class library for developing a lightweight ActiveX control), Microsoft has a ATL-based class library, this class library is used to develop ACTIVEX Designer, ActiveX Designer is the vast majority of programmers who don't understand a class, if you are familiar with Office development, you know that there is a class of objects in Office VBA, which is form2, the report designer in VB6.0 (and famous Active Reporter) These objects, with this class library, you can provide customized visual design mechanisms for VB6.0 and integrated VBA systems, and today ActiveX Designer has evolved into designers integrated into Visual Studio .NET. .
Learning to Microsoft Non-evaluations from Microsoft, I think Microsoft is worth learning. If you say that there is a disaster in this era, you should hate this guy, but you must first learn from this guy! I am inadvertently for Microsoft songs, I just want to say that I have the feeling of Microsoft technology for more than a decade. Microsoft has benefited greatly in research development. If you are interested, you can visit http://research.microsoft.com/, although some Chinese companies have research institutes, but they have a "beads of rice grains compared to Microsoft." Also put the light? " In 2003, I experienced the MICROSOFT Asian Research Institute in Beijing. I saw that China's elites entered Microsoft's desire. In fact, human resources in China, Microsoft Asian Institutes have extended to each The core layers of the famous colleges and universities, I feel that Microsoft does not need "seeking", because as long as Microsoft needs, the elites will "flock", everyone has the reason for "understanding" and yearning to the place. If you swall it to the University of California, I think it can be understood because there are mathematical soils there, because the fruits of the fruit will be proud, because "scientific borders". Is there a national border? I don't know if there is anhydrior? ! Think about the disaster caused by DVD to bring to the domestic industry. I don't know if I should be painful. In the atmosphere of the Microsoft Campus Recruitment, I seem to understand why the "original technology" is less pitiful. I have read several masters written by Microsoft Asian Research Institute. It can be seen that Bill Gate is their spiritual leader and their piety of Microsoft, and domestic research institutions should study Microsoft's use of people. Microsoft seems to be The characters in the Three Kingdoms, I don't know if Liu Bei or Cao Cao, or the mixture of both. I often pass through the Sigma Building. The first Sigma Building has entered the feeling of "pilgrimage", and also has a hand with several levels of Microsoft China, and the tastes are really difficult. In the Office Wars, domestic software is indeed contest in some aspects, in fact, it is actually boring, and the interface is similar to, or the user habits cannot solve the fundamental problem. A good software developer must be A software used by software, it is hard to imagine a software operational level and poor developer can develop a high level of software. One of my earliest software is Microsoft Word. At that time, the version was 2.0, probably a 1992 thing, Give me a deep impression that I integrates Word Basic in Word. Later, I came into contact with Excel 3.0, I don't expect it, Excel integrated is Excel Basic, and later use of Access Basic 1.0, in these software Before integrated into Office, I feel that these products are very convinced, very Microsoft's style, because you know, even a DOS, Microsoft provides a built-in QBasic or GW Basic.
Although there are many technicians, as a technician, I think Microsoft's product concept is definitely the first, from the 1994 Office Series to Office 4.2 formed by 1997. I believe that technical ideas are leading to my country After 2002, the Office product, have you heard of the following statement? "DOS as the era of operating system, Windows is the application software; when Windows is an operating system, the Office becomes Windows of the DOS era; then if this rule, the Office does not replace Windows to become an operating system?", Now in the development field Visual Studio (.NET) is becoming another office, have you noticed? Control the Visual Studio (.NET) integrated development environment is still a Basic language engine (Visual Basic .NET). Unlike many companies, in the technical system, Microsoft almost all products are related, Windows, Office, Visual Studio .NET is different, but the public core is about to be formed, we have seen, core components, Office and Visual Studio .NET increasingly consistent, for example, Microsoft is gradually replacing the core component VBA 6.x of Office 2003, and we still have a gap between some simply rather than Microsoft products. , National procurement or government procurement support companies, do not drill research core technology, only urgent experience in short-term behavior is eager to fight with Microsoft, I don't know if there is a feeling of stunning trees, personal experience is, first learn Microsoft, walk down Learn, learn about Microsoft, in-depth understanding, then call the slogan.
Why use MFC? After a few years of competition, Borland's OWL almost disappeared. This OWL is a very beautiful C class library, in the old age of Borland C 3.1, OWL really achieved a unique unclear. However, Borland C 4.0 missed the best time to enter the 32-bit program. Shortly after BC 4.0, the WIN95, Borland rushes, with a small "Pack", make BC4 to compile WIN4-based programs, at the time of Visual C is version 2.0, supporting Window16 version of Visual C 1.51, interesting is that Borland can simultaneously support Win16, Win32, while Microsoft has to provide different compilers for Win16, Win32. However, informal version of Visual C 2.1 and Visual C 2.2 quietly supports the latest features of Win95, the new set of public controls from Win95, in my impression, Borland's support for Win95 new features make MFC The distance from OWL is greatly shortened. Later, Borland C 4.5 did not change this situation, although Borland C 5.0 supports OWL and MFC, it is revealed that Borland C is very regrettable to go to version 5.5. Although C Builder introduces Delphi's VCL library, many C programmers do not buy, because many people with C are more likely to encode the edited mode. The emergence of Visual C 4.0, on the battlefield of C , Borland started. MFC has developed to today, it has been more than ten years, although it is very different, but it can be sure, more than ten years of technical accumulation has laid the Survival foundation of MFC, even if Microsoft's long-range release, MFC can not launch Windows stage, fact On, Visual Studio .NET after the long-range (Longhorn) still uses the MFC as an important part. In this year's Visual Studio .NET 2005, the location of the MFC in C is still the same. The future of MFC should not worry, as long as you go deep into the .NET class library, you will find that many of the ideological mechanisms of MFC are quietly entering .NET, at the same time, Microsoft's third-party ally has been developed for MFC for more than ten years. A large expansion library, if Microsoft is a boat, the third party allies are the water of the boat.
Many people think that MFC does not develop, in fact, a illusion, Visual C 6 interface is very classic, especially in the Docking control strip mechanism, in fact, Visual C 6 is completely MFC written, but the MFC class library control bar The related class is very weak, why? You will see many companies with Microsoft, and they quickly realize the Docking mechanism of Visual C 6 on the basis of MFC. This is the mildness of Microsoft. Microsoft will provide opportunities for allies, and their consistent approach is There are some interesting features in our own commercial products, making other companies to imitate to drive user groups. Borland does not have such a reserve. The prosperity of the MFC third-party market benefits from Microsoft's strategy and wise. Can the MFC cross the platform? It is theoretically, Microsoft does not do, but also a strategy, but there are many important products Microsoft almost MFC ported to other platforms, in fact, MAINSOFT, one of Microsoft partners (Windows source code is lost from this company), In the past few years, it is responsible for porting the MFC program to be transplanted above UINIX, Linux, AIX and other operating systems. The new version of Visual C MFC has supported .NET development, MFC and ATL collaboration better. According to my experience, the three of the MFC, ATL and .Net library can fully integrate into the actual development work. If you are an MFC hipster, I hope that ATL and .NET library can become your faithful left and right hands. So do you have a program that supports MFC, ATL and .NET libraries simultaneously? Of course, Visual Studio .NET IDE is! And Visual Studio .NET IDE also supports addIN with ATL and .NET libraries.
Know the Application object If you are familiar with Microsoft Office, you should further analyze this large software, almost every program in Microsoft Office can be secondary development, this is based on the secondary development mechanism of Microsoft Office, one is based on The VBA model of the COM mechanism, the other is a host based on the .NET framework: Visual Studio Tools for Office. As a programmer, you should parse the technical structure of Office in the technical perspective. Microsoft's software object structure can be used through the tool OLE / COM Object Viewer provided by Visual Studio, through reference type library, you can even get a C header file that describes object information. This is a lot of benefits. A typical office usually has an Application object (or other object with it), which is equivalent to the software hub, here, we don't discuss office, talk about Application objects. Most of the software supported extension (Plugin) has similar structures. Typically, a system application object or a COM object, or a .NET object, if your system exists such objects, your system has fundamentally supporting addIN, plugin mechanism. An ideal approach is to built an ATL object or .NET object in an MFC system, how to do this later. The key to the design Application object is how to plan the properties, methods, events of this object. If you want the system to have good scalability, Application object is critical, which is also an embodiment of architecture art. The so-called addIN (PLUGIN) is the system runtime, which can be expanded according to the object library loaded according to the system. The key factor is to transmit the Application object to the AddIn (Plugin) when the system is loaded. Imagine if the Application just triggers the system event, and the addIN (Plugin) library explains the event, the task of an AddIN (PLUGIN) library is not OK! Therefore, Application object is the key to system design. If you are proficient in the ATL object, add an ATL object in your MFC system, this task can be done with VC Wizard. You have accepted a fact that there is a CXXXAPP object in the MFC program (CWINAPP derived class), now you have to do, add a corresponding ATL object.
This object can be created in cxxxapp :: initInstance (). If the class of the ATL object is CXXXAppObject, it is recommended that you add a member variable in the CXXXAPP object object, for example: ccomobject
I have sent this post for a moment, it is difficult to say that it is true, still unintentional. A few days ago, I won the game in Sina.com, I think it will win, as a play fan, we have waited for more than ten years, waiting to have a cup of people who belong to the Chinese. I remember that when I still worked at the university, I was still in the university. I said that I said to me in front of me: "Hey, Yesterday, the horse XX won Li Changyi!" At the time, I was watching the newspaper in the office. The people saw that I didn't lift my head. I was very dissatisfied to grab the newspaper, I heard me: "Hello! Horse XX won Li Changyi !! You heard no !!!", I said to him: "You are very strange Well ?! Horsame XX how much disk, do you know? ", Horse XX almost always lost to Li Changyi, people are not surprising, and occasionally win, the Chinese will not find him, Li Changyu weak crown At 17, it was proud of this world. But today, the face is unchanged. A few days ago, the Zhongsijun 5 people, who were gave a flowering flow in the water, Li Changyi is the first world, so that some masters know If an opponent is him, it will order a return flight. This cup, the Chinese people lived, thanked Cui Zheyi, why? Because of this weak crown 19, Li Changyi blocked his big brother, so that the cup has a suspense. When the Chinese media said that South Korea only Li Changyi is very powerful, I don't know what is the heart or self-deception, Li Changyi, 30, I don't know how to force, Japanese years! In the face of this name, it is a bit numb, this Taiji Tiger! The software industry has come again, the Indian Tiger, which has never been teeth, our software exports are only one-third of India, and we are shocked, how can it be? This forty-third water is very large, it is likely to be more pitiful! At that time, I participated in the official meeting of "Dalian Software Exported to China". The adult said at the meeting: "It is said that our Dalian software exported to the first, the city's leadership hopes today to give this One number, I hope that you can declare the data newspaper, last year's data can also be declared, pay attention, what we want is just data, you carefully, we have a reward, the opportunity is rare! "....... One day, several friends watching CCTV's dialogue program in my house, and the dialogue is a domestic software allocator (the owners of friends, Alpay, etc.), and the other is a delegation of India software.
When asked, when the distribution software gap, our Liu Lao (on behalf of Alpi) did not say, according to his views, we have already caught up (India), ..., the meaning of India The level of this level, the Indian party, I still remember: "Whether to catch up, the international market says! In China, Indian programmers are inadequate, the technology is not good, in fact, the Indian software First pay attention to personality, many important US commercial software is developed in India ... "Our public opinion always describes the mediocrity of the consortium of Indian programmers, but the gap is gradually opened, ..., Go, Football (I'm not expressing talking, talking else!), Software, we were blocked by harsh neighboring, music dying, bringing vitality to the media ... Japan's Editor's Go, if a person wants to attack a title (Example: Benshi Square), he must overcome all the brothers, then live in the interior of Master, do you know what's going on? In the future, this player has to cook for Master, bring children, to engage in health ..., the rest of the door, such a person, the way, has created a generation of Genesis, most of them Duang Fang is now, this is the provenance pattern of early Japanese Go. How many statements have the software? My earliest computer software textbook is an English version of (film-named version), different from us, the author of the book constructs "X-language", they don't talk about what C, Pascal, Basic, once lack For what mechanism, add some ingredients to "X-language". What C, Pascal, Basic, you feel almost, but now it is divided into level! We are weak, but we are very stunned in the language of language, don't know if you are right, many programmers may be in vanity and use C , in fact, the earth people know, do database, Delphi , VB is much stronger than C , and it is almost similar, because it is useful or the author does not write, or the author does not understand. Sometimes I am thinking, if there is no domestic demand, what will it? Perhaps the existence of software domestic demand, has created the characteristics of China software, I think the domestic industry has not fully utilized the existence of domestic demand in China, maybe China's software domestic demand is a hard injury in software. I remember a movie "God", the big scorpion of the hero was blown up by the foreigner, and finally he became a gun hand, and the war of the ocean used a big knife, the cheats were not good, and the technology of the Ocean's Thunding Ocean is the right way. I think a good programmer must understand the history of the software, learn history, you know why you are weak, how others are strong. We are fighting in another battlefield (ridiculous thing is that we have to catch up with India!) Feel the cow's software! This post is unexpected, willing to share with you, I hope this post is often, with everyone to open your heart!
Firefox and Microsoft Firefox are commended in a cheer, and there may be a long time, and the calm water is finally thrown into a stone. I am the earliest user of IE. The first Microsoft TED (Technical Education Conference) in 1996, IE4 has not yet been released, we have the opportunity to witness IE4 of internal version (at the time of the internal name: Nashville, English name Forgot ), It is really exciting preview, at that time, IE3 and Navigator 3 fierce battle were. When you first see "Active Desktop" in the imagination, if you are not in your own, you will not be excited. IE4 is essentially a shell, and its SDK is free. Navigator is a Mozilla-based browser. Although it is open source, it is necessary to take care of greater commonality (not related to the operating system), Mozilla cannot fully utilize the advantages of Windows. Mozilla cannot bring the "pleasure" of the developer for the majority of programmers. Top programmers can control Mozilla to achieve the fun of technology depth, the earliest Navigator offers 17 versions (note: not 17 natural languages, Instead of 17 operating systems), from mathematical perspective, Mozilla is like a group of axioms, and you can develop browsers on different operating systems based on this, and Navigator is based on a beautiful result of Mozilla, you can enjoy the code. The structure is beautiful, but lost is a powerful personality (to know, Windows users are much greater than the sum of other operating system users). Ordinary users cannot read the code of Mozilla, even if they understand, it is not very good, this may be one of the fatal causes of Mozilla (and most open source code). IE kernel cleverfully seized developers, you think about tens of thousands, primary developers, easy to control is the preferred choice, and wise. I have read Mozilla, but I will not apply it for a specific project during the development process. As long as it is a browser, it is impossible to be absolute security, whether it is mozilla, or IE. When I learned that Firefox is a new browser based on Mozilla, I basically lose confidence, I have a strange point of view: Firefox's launch, the biggest beneficiaries are absolutely Microsoft, even if Microsoft lost 20% of the share However, it will cause Microsoft to strengthen IE, Microsoft does not know how to promote IE evolution, Firefox's emergence is undoubtedly providing Microsoft to provide opportunities for Microsoft, the principle of species evolution is competition, and Firefox is the promotion of IE further powerful catalysts. Firefox's expansion mechanism is indeed flexible. If the opponent is not Microsoft, it is difficult to set off a wave, and when senior developers gradually understand Firefox, Firefox's vulnerability will gradually expose, try thinking, if some kind of Linux replaces Windows, Then, its vulnerability will also be as much as Windows, because at that time, there will be people who study the WINDOWS vulnerability to study the loopholes of Linux! From a personal point of view, Microsoft may be a bit "" because people who peeked Microsoft weakness are too much.
In theory, computer security is a forever topic, just like any society, there is no thief, thief, crime, and the police disappeared. What do you think, what is civilization? Can barbaric disappear? Barbar disappears, civilization does not exist, and high civilization is more absence. Humans overcome cancer, the next disease will be more deadly than cancer, but this does not mean not to overcome cancer, progress is really a challenge ... IE technology concept is definitely a superior idea, IE can expand mechanism, will give Windows developers have a lot of benefits. I am planning a piece of article, introducing your object model with the MSHTML library, so that your instruction system can be integrated with the HTML object model in the HTML file. Saying "Hook" often sees about "hook", the problem, so I think of another topic, that is, the game "plug". Hook provides a means of changing a Windows window message processing. Usually the development is not used, so it is not "common", early Windows, because it is not good to support the far East (of course, including Chinese characters) Text, therefore there is a lot of external software supplements Windows shortcomings, the Chinese Star is a typical, the software that is proud of the people, the monitoring software may use hook technology, and it is difficult to imagine what software will be used to use HOOK. Someone asked me, can change the data processing behavior of a process, I once told him: Can, you can't! I feel telling me that the vast majority of HOOK is a "non-courtesy" behavior. Has been a period of time, often someone quietly recently, giving me many superusers, arbitrarily modifying my management privilege, I found the host, solved this problem, then, I also bought a few servers listening , Safety books, I have given up, why? Worried about learning bad (positive, evil is only a difference in one). In fact, each server is very fragile. For experienced system programmers, safety and moral guidelines are associated, and software technology is easy. Sometimes I will think, if I want to design a virus or when a hacker, what will happen? I am not a problem, and the Windows virtual driver development is not a problem. It is not a problem! Why is so many people concerned about HOOK? There are very few people in the country, but it can break the solution, but unfortunately, unfortunately! Hook is a bottom-edge compilation mechanism that understands Hook people, completely mastered the heritage of first-class technology, I really hope to look back ...
The criticism of MFC remember that Mr. Liang Yusheng wrote a master of righteousness. The name "Joobei" (it seems to be this name), once this person meets the heroes Zhang Danfeng in a temple, Joche's incense burner, Zhang Dan Feng asked him: "Does your guy say?", Joopi laughs: "Is it a sword with the knowledge of my generation?", Zhang Danfeng stunned, his heart, this person is different ... Speaking of MFC, many people will judge, masters will make many sharp criticisms, for example, engraved document-view mechanisms, complicated framework structures, weird COM implementations, and inexplicable macros, and so on. The MFC is large, not only tied the hands and feet of the MFC development group, but also sets an obstacle to comprehensively master MFC. The masters criticized, may ignore a basic fact, this fact is that your criticism comes from your in-depth understanding of MFC, when many people point out the weaknesses of MFC, they may not recognize: their skills For example, see the superman first, the MFC is brought, more than once someone talks with me: "The COM implementation of the MFC is really bad, see ATL (not to deny, ATL is still the best C class library for COM), You will feel the bloated mfc ... "Many people in our subconscious are unknowingly:" When we use a ladder to board the first floor, we will evaluate how this ladder is How to be bad. "In 1999, one of my projects needed a description engine, VBS (Visual Basic Script), is a free language engine, but the function is very limited, I contact the US Summit, they quickly send it Microsoft's Visual Basic for Application SDK 6.0, I was very strong at the time, in which several graduate c cultivated, when they got VBA SDK, they said to me: "There should be no problem, we will soon get it. VBA SDK, but in a few days, even an example did not come out, it turned out that although VBA SDK provided the MFC extended class library (MFC / ATL synthetic library based on the template), it can be extremely awkward. On the evening, VBA IDE integrates into the system. The second day programmable object appears smoothly in VBA IDE, and the rest of the people feel very strange, look at the code, I have been bypass Microsoft example, it is exactly another implementation. Way, at that time, I felt that Microsoft guys really worse, the original clear integrated way, but people made you wrap to increase technical difficulties, think about it, can understand, not this, third-party Summit Why do I have technical support? I often think that if there is no commercial interest, many technologies should be very simple, efficient, this, Microsoft and other big companies understand that if everything is the best implementation mode, there may be another situation, rehabilitate function There is a famous theorem in the aphrology: "The function parsed at the completion plane must be a common value function.
"The students are difficult to understand, I said, if I said, if I have a class of dozens of counties? The result is a poor student (unless this class has only one student!), This is a Unable to resist, you think, what is the taste of the banquet formed by the best 20 dishes in the world? That must be the worst! Microsoft's MFC is worth learning and use, if you hate this thing or you I think this is an evil thing. You have learned Joche, realize the evil spirits ... I feel that "chicken rabbit" is quite discomfort to Beijing's education, and the earth-shaped mathematics Olympics training course Come over, the child is really hard. When she four grades, she was familiar with the basic content of the first-class origination. After a period of hard work, she has mastered the "Chicken Rabbit", "Han Xin Point Forces" and other China. Classic, Malaysi Tiger's ability to prove fee horse small theorem, one day, she asked me: "Dad, what is the college mathematics? Is there a 'chicken rabbit? ", I said, I know, I specially found the" Basic Algebra "of the old foreign writing, I found the" China's remaining theorem ", the child then asked:" Is there a Chinese mathematical content in this book? ", I gave her a" anti-invitation system "for Mr. Hua Lugeng's old husband in the exercise. The child will then ask:" Is there still? "I feel very uncomfortable, because I can't find it ... I have a dream, it is a mathematician! To this end, the graduate period bought a large number of mathematics books, at the time we were the UNESCO. The Tibetan book, can be said, there is a treasure house filled with martial arts cheats. One day we cleaned the storage room, the warehouse is all the sack pack of the drums, the top is full of dust, hand touch, can stick a few millimeters Thick dust, you can imagine that there is no cleaning in a few years. The students were unintentionally unconnected, we were shocked, and the math magazine in the United States in the United States, each magazine name is well, that is really called Hao Shihai! At that time, we thought that our paper could be published? If you have been lucky, I can think that we can be a motivation, these more than the domestic so-called core journals have more different magazines, just like Like the post on 9CBS, it will soon be overwood, maybe there will be no reference for a long time, visit ..., one day, I have been a teacher, facing all kinds of assessment, so we become a paper machine, regardless of Is there a value, as long as it is the core, you are a high-class. At that time, I often think of those literature in the sack ... The overall level of the overall level, leading to the overall impetuous, the number up, the quality is down. After a few years Maybe I am mature, we have stood in the university platform, there is nothing good things (talking about 'teaching') to young students, remembering our school's computing center plan to recruit a training course, a few days In the past, only 7 were registered. When the 8th came, the first 7 people retired 3 people, and the director was strange, asked students, students, and the original committee is not complicated.
I have not carefully planned this post. If some netizens are sent, "Chicken Rabbit", "The Character Treatment" has historical position, if only enough, we will keep the grass house What is the building? Why do you abandon the traditional robe and go wear a suit in a suit? The virus software war is almost suicide civil war. There is no split of foreign products. Many people like to say three four words for themselves. Is there rarely think about it? People sell our discount products, the conditions are additional "confessions", but the performers are all our people, why? Because our things are short! In that, someone used steel weapons to plunder our wealth, they were strong, and the land was not allowed to change the gentleman face, talked about the law. When you use the D version, when you use the D version, you will blame you, your manpower, financial, and material is all Use, take it from you, and we are still intoxicated in the historical achievements of "Chicken Rabbit Tong Cage", "Character Treatment", we still like to argue "Characcery Leiting Theorem" Who I founded earlier, Who is the most accurate calculation of π, just like talking about C who is higher. postscript:
In order to thank 9CBS netizens support, I have developed several new posts: one, ten years of MFC experience, MICROSOFT development technology - multi-document interface development technology: This discussion is a class of multi-document interface, the main window is a single document Interface, if you like, you can display a multi-document window as a main window (CView), this type of multi-document interface supports unlimited multiple document types (you can load any multiple document templates), support (based on COM, .NET) Secondary development technology and VBA integration; Second, ten-year MFC experience understanding Microsoft Development Technology - Visual Document Interface Design Technology: This Post Discussion MFC Document / View Mechanism Visualization is given Document / View design mechanism; which contains how to integrate ActiveX Ctrl, .NET User Control, MFC CView class objects to form an MFC form; As a program's splash to enhance the infectious force of the program, use HTML, Flash animation as the background of MDI program, etc. Describe how to develop .NET components using the MFC class library, for example, use MFC to develop WinForm objects, and then used for VB.NET, C #, and more. If you have a good suggestion, please contact me (Sun Hui @ mail.apptemplate.com, sunhuizlz @ Yeah.net), if there is Beijing's friend is willing to help, I am grateful, I hope to get everyone's support!