NetDDE Passwords Must Be Uppercase when Using NDDEShareAdd

Last reviewed: November 21, 1994
Article ID: Q94640
The information in this article applies to:
  • Microsoft Windows for Workgroups versions 3.1, 3.11

SUMMARY

If you receive an invalid password error when accessing a shared ClipBook page on another machine, the password may not have been entered from the user interface provided in ClipBook. The standard user interface automatically converts all entries to uppercase characters, and the programmable interface NDDEShareAdd does not. If the password was not entered in uppercase characters, the passwords, though identical in all other respects, do not match.

MORE INFORMATION

All passwords must be in uppercase characters before calling NDDEShareAdd. The application program interface (API) does not change the password characters to uppercase automatically. The API encrypts the passwords in lowercase characters. On the server, the password characters entered in the password dialog box are automatically changed to uppercase. The encrypted versions of both passwords are compared as binary, and if different strings are encrypted, the comparison fails.

Tests that use a user interface to have the user enter the password always work because that user interface changes the password characters to uppercase before calling NDDEShareAdd.

NOTE: Only applications with mixed-case strings in their data or resources exhibit this problem.

NDDEShareAdd is a NetDDE command. This only affects users that have created their own NetDDE applications, are using a third-party NetDDE application, or are accessing the NetDDE interface by using an applications DDE interface.


KBCategory: kbnetwork kbtool kbprb
KBSubcategory: wfw wfwg
Additional reference words: 3.10 ndde access denied


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.