Record your learning notes. ATL under the hood-Part 1
Http://www.codeproject.com/KB/atl/atl_underthehood_.aspx
Tells the class memory model of the object, including the memory model between classes with inheritance relationships
View code
1 # Include Iostream > 2 Using Namespace STD; 3 4 Class Base { 5 Public : 6 Base (){} 7 Virtual Void F1 () = 0
COM Component Design and Application (18) -- attribute packageHttp://www.vckbase.com/document/viewdoc? Id = 1547Author: Instructor Yang
Download source code
I. PrefaceThis article describes the implementation and call methods of the ipersistpropertybag interface. Attribute packages provide continuous support for components in the form of "name-value", while "name-value" is suitable for representation in text mode. The following snippets areThe style after the Microsoft monthview Control ActiveX
For the program compiled with vc2005, there are no errors during compilation, but the runtime prompts "the application initialization fails normally "!! I found all kinds of materials and made various attempts. Everything I said on the Internet was: I had to install vc2005 sp1patch to install vcredist_x86.exe; I had to copy the DLL of the CRT library directly to the program directory;To clear the Registry; to install a new version of. netframework; to check manifest;As a result, I tried it for h
More information on this page
For more information about the MFC container methods, see common examples of the ATL container methods.
Summary
For Windows, in order to avoid the re-painting problem, it is used as the parent ActiveX control. In the local container, the ws_clipchildren window style must be used.
Back to TopMore information
When the ws_clipchildren style exclusion area is drawn in the parent window by the Child window:Http://msdn.microso
How do I determine the local path to a shared folder?
Ask:
Hello, Scripting Guy! If you have a UNC path (for example, \\server1\test), can you use a script to determine the local path of a shared folder, such as a C:\Scripts\Test folder?
--JVK
For:
Hello, JVK. Yes, you're right.
Oh, yes; we almost forgot. Can you use a script to determine the local path to a shared folder? Of course you can (although we don't know why there are xianxin to do it during the baseball season). But if this is really
, and ATL development methods. ATL is not widely used in China and is generally used in medium and large software products with COM components as the architecture.
"SDK": software development kit, often translated as a software development (Tool) packageIn the Win32 programming field, it is generally different from the framework programming such as MFC. It directly calls the API development method provided
about KB per second. If you read data row by row, it will be less than one minute.
To use the readall method, open a text file and call the readall method (without parameters). For example, in the script 4.38, open the file C:/FSO/scriptlog.txt, then read the content of the file. Jiang data is stored in the variable strcontents. The script then displays the value of this variable, that is, the content of the text file.
Listing 4.38 reading a text file using the readall Method
1 const forreading
supporting gnutella2, gnutella1, edonkey2000/eMule and BitTorrent protocols. Using C ++, MFC and ATL, for Windows.
Sunshineun (http://sourceforge.net/projects/sunshineun ):Sunshineun is a free Napster based file sharing program for opennap/slavanap which allows you to share and download multiple files of different types for example music, pictures and videos. it is for Windows and it is written in C ++ Using MFC.
TortoisecvsHttp://sourceforge.net/p
). After reading this article, you will be able to learn how to use the built-in components in the Windows operating system and the COM objects provided by third parties.This document assumes that you are proficient in the C ++ language. In the example code, we use a bit of MFC and ATL. If you are not familiar with MFC and ATL, this article will thoroughly explain these codes. This article includes the fol
Customize Internet Explorer InterfaceAuthor: Ling Hu Ye This article only introduces the IE extension interface and does not involve kernel-level advanced extensions.Most of the information in this article comes from msdn, and msdn provides more detailed information. This article is just a summary editor. The basic shell programming in msdn starts with the shell programmers guide,IE shell programming starts with Browser Extensions overview. (Jump with an index) Related Resources: 1. The
developers only need to focus on a few details when accessing data, rather than understanding a large number of access protocols for different databases.Ole db is a set of ActiveX interfaces that access data through COM interfaces. This ole db interface is quite common enough to provide a unified means of accessing data, regardless of the method used to store data. At the same time, ole db also allows developers to continue to take advantage of the advantages of the basic database technology, w
Original: http://vckbase.com/index.php/wv/1265.htmlFirst, prefaceOn the back of the book, this fallback in the introduction of the property package IPersistPropertyBag interface implementation method and call mode. A property bag, which provides support for component persistence in the form of a "name-value", and "name-value" is just as good for textual representation. The following fragment is the style that is inserted in HTML after you insert the Microsoft MonthView control ActiveX Controls:
OpenUniversal-USB-Installer, Set as follows, click"Create"Install fedora on a USB flash drive:
After the installation is successful, restart your computer with a USB flash drive and enter the ora 18lxde graphical logon interface. You cannot log on to this interface. To log on, complete these steps:
1) Press "Ctrl + ATL + F1" to enter the terminal interface. If "Ctrl + ATL + F1" doesn't work, try "
no exception, explaining how MFC is used, and as a reference book is also valuable, must read!MFC Internals:inside the Microsoft (c) Foundation Class Architecture by by George Shepherd, Scot Wingo and in layman 's MFC by Houtie : These two books explain the internal implementation of MFC, explain the message in MFC and Messagemap, object serialization, Document/view structure, OLE and other content, very classic, learning MFC highly Recommended!ComCOM Essence Theory /COM Essentials, by Don Bo
sharing client that supports GNUTELLA2, GNUTELLA1, Edonkey2000/emule, and BitTorrent protocols. Developed using C + +, MFC and ATL, running in a Windows environment.
Sunshineun (http://sourceforge.net/projects/sunshineun/):Sunshineun is a free Napster-based Opennap/slavanap file sharing program that allows users to share and download files in different formats, such as music, pictures, and videos. Developed under Windows with C++/MFC.
Tortoisecvs
object needs to implement a simpler and smaller interface called IObjectWithSite. It only provides two methods.
Table 3. IObjectWithSite Interface Definition
The only strict requirement for BHO is to implement this interface. Notice that you want to avoid returning E_NOTIMPL from the previous function. You either don't implement the interface or write the method correctly.
Writing a browser Helper object
What is more appropriate than Active Template Library (
[Source code download: http://download.csdn.net/source/3526786] Introduction
Here, I'll introduce ATL support for using ActiveX controls in a dialog box. Because ATL specializes in handling ActiveX controls, WTL does not involve other auxiliary classes. However, the ATL method that uses ActiveX controls is very different from MFC, so it needs to be highlighted. I
From: http://blog.csdn.net/p40614021/article/details/6778100
ATL: conversion macros are a convenient way to convert various character encodings. They are very useful in function calls. The name of the ATL conversion macro is the [Source Type] 2 [New Type] or [Source Type] 2C [New Type] named according to the following pattern. According to the second form, the macro conversion result is a constant pointer
"Win32 programming"
Unfortunately, I have been learning programming for a long time (the learning environment of the last century is evident ). For a long time, I have never understood what 32 means. I have used Dos, Win31, win95, win97... but I have never used an operating system named Win32? A long time later, I learned that 32 here is not the version number of the operating system, but 32 bits. The Microsoft operating system is a dos system in win31 and earlier versions. windows is just a lar
algorithm. It keeps track of all versions of yourFiles in full and incremental backups.
Password safeHttps://sourceforge.net/projects/passwordsafe ):PasswordSafe is a password database utility. Users can keep their passwordsSecurely encrypted on their computers. A single safe combinationUnlocks them all.
RenfileHttp://sourceforge.net/projects/renfile ):Rename files and folders in bulk using this VC ++. Net program.
ShareazaHttps://sourceforge.net/projects/shareaza ):Multi-networkPeer-to-peer
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.