Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Create directory

113 views
Skip to first unread message

Andrzej Sulej

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
Hi
maybe I'm blind but I cannot find in a function to create directory.
It's very important for my application.

regards
Ands


Mas Frédéric

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
Hi,
use the API Function

FUNCTION boolean CreateDirectoryA(ref string pathname, int sa) LIBRARY
"Kernel32.dll"

Usage :
String MyDirectory

MyDirectory="c:\tmp"
if(CreateDirectoryA(MyDirectory,0)) then
MessageBox("","Ok")
end if

Regards
Fred

Andrzej Sulej a écrit dans le message <35DA9514...@fiber.net.pl>...

Simon Caldwell

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
There isn't one. You need to use the API CreateDirectoryA() function.

Simon

Andrzej Sulej wrote in message <35DA9514...@fiber.net.pl>...

0 new messages