Export (0) Print
Expand All

How Do I Use the MFC ISAPI Classes Without Linking to the MFC DLL?

Visual Studio .NET 2003

To avoid linking to the MFC DLL

  1. Access the project's Property Pages dialog box. See Setting Visual C++ Project Properties for more information.
  2. In the General property page (Configuration Properties folder), set the Use of MFC property to Use Standard Windows Libraries.

Follow the comments generated by the ISAPI Extension Wizard in your ISAPI PROJECT.CPP file. Generate your own AfxGetResourceHandle function and your own special DllMain by uncommenting the lines in the file.

Don't include headers for MFC classes other than AFXISAPI.H.

See Also

Internet Programming Frequently Asked Questions

Show:
© 2014 Microsoft