Share via


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:

  •    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.

  •    A CObject class that supports the most recently used (MRU) file list.

  •    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

  • creates and initializes one Internet session or several simultaneous Internet sessions and, if necessary, describes the connection to a proxy server.

  • manages your connection to an Internet server.

  • and its derived classes allow access to files on remote systems that use Internet protocols.

  • manages your connection to an HTTP server.

  • provides the functionality to find and read files on an HTTP server.

  • provides the functionality to find and read files on a gopher server.

  • manages your connection to an FTP server.

  • manages your connection to a gopher server.

  • performs local and Internet file searches.

  • aids in Internet file searches of FTP servers.

  • aids in Internet file searches of gopher servers.

  • gets a gopher "locator" from a gopher server, determines the locator's type, and makes the locator available to CGopherFileFind.

  • represents an exception condition related to an Internet operation.

Active Documents

  • maps the DocObject interfaces, and initializes and activates an Active document.

  • implements OLE server verbs specifically for Active document servers.

ActiveX Controls

  • 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.

  • works similarly to CMonikerFile; however, it binds the moniker asynchronously to the stream for which the moniker is a name.

  • implements an OLE control property that can be loaded asynchronously.

  • implements an OLE control property transferred asynchronously and cached in a memory file.

  • 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.

  • works with arrays of arbitrary type and dimension.

  • now includes the following member functions for implementing ActiveX controls:

Database Programming

  • 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.

  • includes 17 new member functions that enhance functionality and provide support for bookmarks and bulk row fetching.

  • includes four new member related to transactions, bookmarks, and connecting to a data source:

Data Binding

  • includes four new member functions that implement data binding functionality: