New MFC Classes
The new MFC classes since Visual C++ 4.0 include Internet server classes and other new MFC classes. These other classes are listed here:
- CDockState A CObject class that can hold the state of a number of control bars. You can save the state to and load the state from the registry, an INI file, or the binary contents of a CArchive object.
- CRecentFileList A CObject class that supports the most recently used (MRU) file list.
- CSharedFile A CMemFile class that supports RAM-based shared memory files for fast temporary storage and for transferring raw bytes or serialized objects between independent processes.
Win32 Internet Programming
- CInternetSession creates and initializes one Internet session or several simultaneous Internet sessions and, if necessary, describes the connection to a proxy server.
- CInternetConnection manages your connection to an Internet server.
- CInternetFile and its derived classes allow access to files on remote systems that use Internet protocols.
- CHttpConnection manages your connection to an HTTP server.
- CHttpFile provides the functionality to find and read files on an HTTP server.
- CGopherFile provides the functionality to find and read files on a gopher server.
- CFtpConnection manages your connection to an FTP server.
- CGopherConnection manages your connection to a gopher server.
- CFileFind performs local and Internet file searches.
- CFtpFileFind aids in Internet file searches of FTP servers.
- CGopherFileFind aids in Internet file searches of gopher servers.
- CGopherLocator gets a gopher "locator" from a gopher server, determines the locator's type, and makes the locator available to CGopherFileFind.
- CInternetException represents an exception condition related to an Internet operation.
Active Documents
- CDocObjectServer maps the DocObject interfaces, and initializes and activates an Active document.
- CDocObjectServerItem implements OLE server verbs specifically for Active document servers.
ActiveX Controls
- CMonikerFile takes a moniker, or a string representation that it can make into a moniker, and binds it synchronously to the stream for which the moniker is a name.
- CAsyncMonikerFile works similarly to CMonikerFile; however, it binds the moniker asynchronously to the stream for which the moniker is a name.
- CDataPathProperty implements an OLE control property that can be loaded asynchronously.
- CCachedDataPathProperty implements an OLE control property transferred asynchronously and cached in a memory file.
- COleCmdUI allows a DocObject to receive commands that originate in its container's user interface (such as FileNew, Open, Print, and so on), and allows a container to receive commands that originate in the DocObject's user interface.
- COleSafeArray works with arrays of arbitrary type and dimension.
- COleControl now includes the following member functions for implementing ActiveX controls:
Database Programming
- CDBVariant allows you to store a value without worrying about the value’s data type. CDBVariant tracks the data type of the current value, which is stored in a union.
- CRecordset includes 17 new member functions that enhance functionality and provide support for bookmarks and bulk row fetching.
- CDatabase includes four new member related to transactions, bookmarks, and connecting to a data source:
Data Binding
- CWnd includes four new member functions that implement data binding functionality: