Applications That Run with or Without Pen ExtensionsLast reviewed: January 5, 1995Article ID: Q79871 |
The information in this article applies to:
SUMMARYTypically, applications that are developed for Microsoft Windows for Pen Computing do not run unless the pen extensions are installed in memory. The reason for this is that these applications are implicitly linked to PENWIN.DLL. When a user runs an application that is implicitly linked to PENWIN.DLL on a system where the pen extensions are not installed, the application fails to load with the following error message:
File Error Cannot find PENWIN.DLLThe SNOOP sample application, provided with the Microsoft Windows for Pen Computing in the Windows Software Development Kit (SDK), is an example of an application that runs only when the pen extensions are installed. Applications can be designed to run in either environment, under Windows with or without the pen extensions. The HFORM sample application, also provided with the Windows for Pen Computing in the Windows SDK, is an example of this type of application. This article lists the steps required to create an application that runs in either environment; this article also lists other sample applications that do not implicitly link with PENWIN.DLL.
MORE INFORMATIONAn application that does not implicitly link with PENWIN.DLL can use the pen API functions when they are available and can run in the Windows environment when the pen extensions are not available. The application must not reference any of the pen functions directly. At run time, the application must retrieve the handle to PENWIN.DLL and explicitly load any functions that the application will use. The following four steps detail how an application that is not implicitly linked to PENWIN.DLL would load and use the Recognize function:
|
Additional reference words: 1.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |