BUG: Copying Samples to a Dir with High ASCII Stops File I/O

ID: Q168264


The information in this article applies to:
  • Microsoft Visual Studio versions 97, 6.0
  • Microsoft Visual C++, 32-bit Editions, version 5.0
  • Microsoft Visual J++, version 1.1
  • Microsoft Visual InterDev, version 1.0


SYMPTOMS


If you attempt to copy a sample from the online samples to a directory with high-ASCII characters in the path name, it does download, but when you try to open the project it cannot be found. The error message displays the correct path, but says:

File Not Found
Please verify that the path and file name are correct.
At this point, file I/O from the Developer Studio IDE to any directory with high-ASCII characters fails. For example, if you try to save a file to a directory with high-ASCII characters, you get the following message:
Cannot save file. Make sure the directory exists and is not read-only.


CAUSE

Developer Studio is in an incorrect state after copying a sample to a directory with a path containing high-ASCII characters. All subsequent file name translations involving high-ASCII are done incorrectly.


STATUS

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


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a directory with high-ASCII characters (to generate high-ASCII characters from a standard keyboard, hold down the Alt key and type a number between 128 and 255 on the numeric key pad).


  2. From Help/Search (index tab) type POLYGON, select "POLYGON sample (ATL)", and then topic "POLYGON: The ATL Tutorial."


  3. Click the link "Click to open or copy the POLYGON project files" and Select to copy all.


  4. Choose to copy to the directory that contains high-ASCII character.


  5. Try to open the project. It will not find the project.



REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q168265 FIX: Error "Microsoft JScript error" After Copying Sample

Additional query words:

Keywords : kbVC500bug kbVisID100bug kbVJ110bug kbVS97bug kbVS600bug kbGrpDSTools
Version : WINDOWS:1.0,1.1,6.0,97; winnt:5.0
Platform : WINDOWS winnt
Issue type : kbbug


Last Reviewed: April 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.