MFC Internet Programming Basics

Microsoft provides many APIs for programming both client and server applications. Many new applications are being written for the Internet, and as technologies, browser capabilities, and security options change, new types of applications will be written. Browsers run on client computers, providing access to the World Wide Web and displaying HTML pages that contain text, graphics, ActiveX controls, and documents. Servers provide FTP, HTTP, and gopher services, and run server extension applications using CGI. Your custom application can retrieve information and provide data on the Internet.

Important

ActiveX is a legacy technology that should not be used for new development. For more information, see ActiveX Controls.

Client and server applications.

MFC provides classes that support Internet programming. You can use COleControl and CDocObjectServer and related MFC classes to write ActiveX controls and Active documents. You can use MFC classes such as CInternetSession, CFtpConnection, and CAsyncMonikerFile to retrieve files and information using Internet protocols such as FTP, HTTP, and gopher.

In This Section

Websites for more information

For more information about Microsoft Internet technology, see Networking and Internet.

The World Wide Web Consortium (W3C) publishes specifications for HTML, HTTP, CGI, and other World Wide Web technologies.

More internet help

The OLE section of the Windows SDK contains additional information about OLE programming. This information provides details about using the Win32 WinInet functions directly, rather than through the MFC classes. It also contains overview information about Internet technologies.