SAMPLE: MFCINP16: Inproc 16-bit MFC Automation ObjectLast reviewed: October 10, 1997Article ID: Q130843 |
|
2.03 1.52
WINDOWS
kbole kbprg kbfile
The information in this article applies to:
SUMMARYMFC's App Wizard will not generate an inproc OLE Automation server. This article gives you the steps to follow to create an inproc automation server using MFC. MFCINP16, a sample available in the Microsoft Software Library, is a 16-bit inproc automation object that was created using the steps in this article.
You can find MFCINP16.EXE (size: 48563 bytes) , a self-extracting file, on these services: On the www.microsoft.com home page, click the Support icon
Click Knowledge Base, and select the product
Enter kbfile MFCINP16.EXE (size: 48563 bytes)
, and click GO!
Open the article, and click the button to download the file
ftp ftp.microsoft.com
Change to the Softlib/Mslfiles folder
Get MFCINP16.EXE (size: 48563 bytes)
On the Edit menu, click Go To, and then click Other Location
Type "mssupport" (without the quotation marks)
Double-click the MS Software Library icon
Find the appropriate product area
Locate and Download MFCINP16.EXE
Dial (206) 936-6735 to connect to MSDL
Download MFCINP16.EXE (size: 48563 bytes)
For additional information about downloading, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online Services MORE INFORMATIONMFC's App Wizard doesn't generate inproc (DLL) OLE servers because it is not possible for MFC to fully implement one that can open into a separate window. MFC needs to hook into the client's main message retrieval loop to translate accelerators of the separate window and to implement idle-time processing. OLE doesn't provide such a mechansim. It is entirely possible to implement an inproc server in MFC with no user interface or with a very simple user interface. This article shows you how.
Steps to Create a 16-Bit Inproc Automation Object in MFCIt is assumed that Visual C++ version 1.51 or greater and the Control Development Kit have been installed.
|
Additional reference words: 2.03 1.52
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |