Microsoft KB Archive/168264

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

Article ID: 168264

Article Last Modified on 8/11/2005

-

APPLIES TO


 * Microsoft Visual Studio 97 Service Pack 3
 * Microsoft Visual Studio 6.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual J++ 1.1 Standard Edition
 * Microsoft Visual InterDev 1.0 Standard Edition

-



This article was previously published under Q168264



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.



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.

