# Remember 8 character folder names!

This topic is 4799 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Visual C++ 6.0, can't include files or libraries if they have folders with more then 8 character names in their filepaths... imagine my debugging problems to find this out! im upgrading :-) This post is ment to create a smal alarm back in your head, that fires when you get problems with your #includes and your linking. Im satisfied if this post makes ONE person skips the hasle to find this problem :-)

##### Share on other sites
I'm using path names with more than 8 characters daily, and i've had no problem. Do you have the service packs installed ?

Y.

##### Share on other sites
Quote:
 Original post by YsaneyaI'm using path names with more than 8 characters daily, and i've had no problem. Do you have the service packs installed ?

Same here. Service Pack 6.

##### Share on other sites
You think that's annoying?

DJGPP refuses to work with files in the top-level directory 'dev' (presumably because it looks like UNIX's device path, not that I can see why it would require any special handling).
And of course I neatly keep all of my development projects there. It took a while to figure that one out..

Anyway.. That's strange, since it always worked for me. Even my unpatched version of VC5 used to handle them.
Try removing any special characters (especially spaces) out of the path just to be sure.

##### Share on other sites
It says that in the file 'readme.1st', which, as the name implies, is something you should have read first.

Quote:
 WARNING: do NOT install DJGPP in a directory C:\DEV, D:\DEV, etc., or in any of their subdirectories: it will not work! See the FAQ for more details.

From the FAQ:

Quote:
 22.21 The dark secrets of the /dev/ directory...================================================_*Q*: All DJGPP programs cannot find files in the d:\dev' directory, butwork okay in other directories. What is going on here??__*Q*: I installed DJGPP in the e:/dev/djgpp', and it doesn't work!_*A*: This is an unfortunate side-effect of the special treatment given to the\dev' directory on each drive. DJGPP transparently supports Unix-styledevices such as /dev/null' and /dev/tty', so that programs ported from Unixthat refer to these devices will work. Unfortunately, due to a half-heartedway DOS and Windows support devices, the DJGPP library must treat the \dev'directory specially. The net effect is that if you have a real directory bythat name, you will get erratic behavior.A work-around is either to rename the \dev' directory to some other name,like \devel', or move it down the directory hierarchy, for example make itd:\software\dev'. (The special treatment is only reserved to the \dev'directories immediately under the root of every drive.)

1. 1
2. 2
JoeJ
20
3. 3
4. 4
frob
11
5. 5

• 13
• 17
• 13
• 20
• 13
• ### Forum Statistics

• Total Topics
632191
• Total Posts
3004661

×