🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10899

Re: How to create a directory

#10899
From: Remy Lebeau (TeamB)
Date: Fri, 19 Mar 2004 19:14
25 lines
1726 bytes
"Feico" <feicorem0veth1s@gmx.net> wrote in message
news:tv2m50p9dfhrefq014frtv777g5u65m2mo@4ax.com...

> Everything is in the help file, they say, but some things are really hard
to find.

That is partly because there are multiple help files, and some things are in
one help file but not the others.  You need to understand what you are
actually looking for so that you can understand which help file to actually
look in.

> My question is simple: How to create a directory (AKA folder)?

Via the Win32 API, look at CreateDirectory/Ex()

Via the VCL, look at CreateDir() and ForceDirectories().

> I found a very interesting function in the help file, named
> ForceDirectories. However, this function does not appear to exist.

Yes, it does.  But it is not an API function.  It is a VCL function.


Gambit
Technical Details
Message-ID: <405b4482$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <tv2m50p9dfhrefq014frtv777g5u65m2mo@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,60c82ff8aab6cb22
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-19 11:10:57 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <tv2m50p9dfhrefq014frtv777g5u65m2mo@4ax.com>
Subject: Re: How to create a directory
Date: Fri, 19 Mar 2004 11:14:58 -0800
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <405b4482$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079723138 67.22.138.253 (19 Mar 2004 11:05:38 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail