The information in this article applies to:
SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
CAUSE
The PrtDevMode property mirrors the Windows DEVMODE structure. This
structure has changed in Windows 95 and later.
RESOLUTIONIf your application does not contain this type declaration, include a new type declaration and change the references to the old structure. If your application already has this type declaration, change the size of the string element. MORE INFORMATION
If your application does not define this structure in the Declarations
section of a module (you are using the wizard declaration), you need
to add the type declaration to one of your application's modules. To do
so, add the following lines to the Declarations section of one of your
application's modules. This must be a stand-alone module.
Replace all references to the old type structure zwtDevModeStr in your application code to the new type structure, str_DEVMODE. If the Declarations section of one of the modules in your application already contains this type declaration, change the line that reads
REFERENCES
For more information about using PrtDevMode, please see the following
articles in the Microsoft Knowledge Base:
Keywords : kbprint PtrSetup |
Last Reviewed: March 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |