BUG: Windows 95 Limits Mailslot Names to 8.3 Naming Convention

Last reviewed: November 16, 1995
Article ID: Q139716
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) version 4.0

SYMPTOMS

When you use Mailslots with Windows 95, the mailslot name is silently limited to the MS-DOS 8.3 naming convention including subdirectories. For example, if a mailslot is created in Windows 95 with this name:

   \\ComputerName\Mailslot\Test_slot

then although CreateMailslot returns success, the actual mailslot name is set to this:

   \\ComputerName\Mailslot\Test_slo

The mailslot file name is truncated to eight characters and the file extension is truncated to three characters. Therefore, when a client running under Windows NT sends data to \\ComputerName\Mailslot\Test_slot, the data is never recieved by the Windows 95 server. This is because the names of the two mailslots do not match.

However, when a Windows 95 client sends data to \\ComputerName\Mailslot\Test_slot, the data is recieved by the server. This is because both computers are running Windows 95, so they both truncate the mailslot name to store the name as:

   \\ComputerName\Mailslot\Test_slo

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are reasearching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

This problem also occurs if a server is running under Windows NT and the client is running under Windows 95. Because the Windows 95 client truncates the name of the mailslot, the Windows NT server is unable to receive the data. Here are examples of names that will not work:

   \\ComputerName\mailslot\test_slot.slot
   \\ComputerName\mailslot\test_slo.slot
   \\ComputerName\mailslot\path1\path2\test_slot.slot

Here are examples of names that will work:

   \\ComputerName\mailslot\test_slo.slt
   \\ComputerName\mailslot\test_slo.slo
   \\ComputerName\mailslot\path1\path2\test_slt.slt


Additional reference words: 4.00 Windows 95 prefix suffix
KBCategory: kbnetwork kbbuglist
KBSubcategory:


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 16, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.