First post, by FeedingDragon
- Rank
- Oldbie
Would this be a good place to find beta testers? Nobody may ever want this, but when my favorite directory utility failed because of MS's new 64-bit OS rules, I started writing my own version. Someone else already revamped something similar, but it wasn't exactly what I was looking for, and I was already well into the challenge. My code is heavily re-written, though in a final release (if there ever is one,) the info/readme file will pay homage to the originals. The problem is that nobody seems willing to test it out any and find the bugs I know I'm missing. I push it, but when all is said and done, I'm not that imaginative. My code is admittedly simple, (well, see for yourself,) but then again, I'm not really a programmer, just a dedicated amateur. They are old, but I did my programming in Borland Turbo C++ 3.0 and Visual Studios C++ 2008. They are the only professional (non-free,) packages I own (sorry, not a pirate.) I tried using a couple of free C++ packages, but had nothing but trouble, and gave it up for now.
Basically, all it is, is a color coded formatted display of a directory. It is based on what I originally called d-com (because of the file name "d.com",) but I later discovered was actually HotDir. To the original app, mainly because of a program called "Access D" that was similar, I added a browse mode and extra color coding. I only had access to the Access D source, and I started by just altering that to learn C++ again. In the end, I started v2 with a complete re-write, and v3 with an upgrade to Window32. The DOS version comes in 2 formats, a .com (which I always understood to be faster but more limited,) and a .exe file. The .com is limited to 1600(ish) files before running out of memory, and the .exe to 2800(ish.) Both should be more than adequate for the task at hand. The Win32 version has a limit that was rather ridiculous (over 50 million,) but I ended up limiting it to 65k each files and directories (by variable sizes, unsigned int instead of unsigned long int.) If you need more than that.... well... because of the sorting routines, it really just isn't feasible in a reasonable amount of time. At this time, the Win32 only displays short file names (and has it's own method of displaying ones that don't "have" a sfn - by putting an * on the end of the first 7.) As you'll see below v4 will change that.
I've taken it as far as I can without major changes from my original goals. Once I'm comfortable that these are completely bug free, I am planning to start upgrading the Windows32 version to include long file names and if I can do it while maintaining 32 bit OS functionality 64 bit math access to file/drive sizes and date/time stamps. Everything is in place to start that work now, but I'll still have to make some major changes. According to VS2008 I should be able to pull that off, as it's just using 64-bit math (much like DOS 16-bit can handle 32-bit math just fine.) One of my main problems is that I now have a 64-bit OS and a 16-bit OS. I don't have a full 32-bit OS that I can program for right now. I'm looking to find a compiler that will compile for Win95, but VS2008 only supports back to XP (and BTC only for DOS.) So, I need Win XP, Vista, & Win8 testers (64 and 32-bit,) Win7 (32-bit,) and DOS testers for now, and hopefully Win95 testers soon. It should work fine in XP, but I cannot test it (I can't stand MS's XP Mode, I had nothing but problems with it, so I removed it.)
The files, with source, are provided below. I kept the routines separated by how "compatible" they are with other compilers/environments. The subbsa.cpp file, for example, is a file with all the routines that were originally assembly int controls, and later became direct text video access routines (because the color text routines in Borland, seem to only exist in Borland, and were not redirectable anyways.) the wsubbsa.cpp file, is the file where all those routines (keeping the same function names,) are converted to do the same thing in VS2008.
Thank you....
I "think" I'm finally finished. I cannot find any more bugs, and have fixed all but 1 problem. The remaining problem is that the DOS only version does not accurately report drive sizes in advanced (Windows 2000+) 32-Bit operating systems. It may also fail in Windows NT 4.0+ but can not test that as I don't
have access to it. After fighting with it for a while, I gave up and decided that anyone using those operating systems should really stick with the Windows
only or the Combined versions. The DOS only version is really designed for DOS operating systems only.
Oops... Version number fixed 😀 Sorry about that.
Feeding Dragon