The information in this article applies to:
SYMPTOMSIn an OLE server application's SetTargetDevice() method, the Device Name string located at the otdDeviceNameOffset position of the otdData buffer contained in the OLETARGETDEVICE structure is invalid. CAUSEWindows Write does not properly NULL-terminate the Device Name string. RESOLUTIONThe OLETARGETDEVICE structure contains information about a target device. It is declared in OLE.H as:
The otdData byte array contains a DEVMODE structure, which begins at
offset otdExtDevmodeOffset. The Device Name string can be extracted from
the dmDeviceName member of that DEVMODE structure.
STATUSMicrosoft has confirmed this to be a problem in Windows Write shipped with Microsoft Windows version 3.1. We are researching this problem and will post new information here as it becomes available. Additional query words: 1.00 buglist1.00
Keywords : |
Last Reviewed: October 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |