From: "A.Appleyard" Organization: Materials Science Centre To: DJGPP AT DELORIE DOT COM Date: Wed, 12 Feb 1997 13:44:55 GMT Subject: Windows 95 Message-ID: <212D8C10373@fs2.mt.umist.ac.uk> I wrote for my department a while ago a Gnu C++ program with graphics and compiled it under v1. It still runs OK under DOS 6.** . But I just now installed it on a student's new PC that has Windows 95 in, and I found that, when run under Windows 95:- (0) Whoever wrote Windows 95 must have come out of a UFO. For a start, in it I badly miss the DOS Editor and the TREE command. (1) fopen(,) treats the filename e.g. `zxcvbnm' as `zxcvb', and `asdfghjkl.pcx' as `asdfghj.pcx'.I.e. something removes the last two characters before the dot truncating the name to 8.3 characters. What does this? Does it always happen? (2) How can a Gnu C++ program find if it is running under Windows 95 or not? I need to know because of a complication involving graphics. (3) How can a program select between DOS 6 - type and Windows 95 - type handling of filenames when handling files?