On Saturday, 97/06/07, Howard Parsons wrote to All about "Directory
Services" as follows:
HP> Apparantly the original message has scrolled off. I'm looking
HP> for a DLL that will take care of directory/file oriented tasks
HP> such as listind directory contents, deleting files, making
HP> directories, etc,
In that case, you don't really want a DLL. That is for C-reeps.
You have a much more powerful facility available to you in PL/I. You
can have a suite of macros that make in-line calls to the native API,
and SIGNAL various error conditions when things go wrong. The only
thing I would make separately compiled would be directory listing,
where I would use a static library, since the findfirst/findnext logic
is quite petite, but big enough that you don't want to replicate it. I
already have one of these for OS/2, including clones of the C standard
library functions _splitpath(), _makepath(), etc.
If I work up enough energy to port it to NT I'll send you the source.
It's just that I hate my NT system. The "blue screen of death" gets on
my tits. However, an OS/2 app I'm writing will eventually be ported to
NT, so I'll have to port the path handling and directory services
HP> The main PL/1 app runs on an NT platform. We've
HP> moved away from OS/2 at my regular job.
As an NT user myself, I have to say that's a bummer! ... :-(
* KWQ/2 1.2i * "Monopoly? No, we just don't want competition."
Please remove the '$' in the from line before reply via email.
Anti-UCE filter in operation.