programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Help Create an New Directory

From: Rick VanNorman <rick_at_forth.com>
Date: Tue, 18 Dec 2001 07:23:08 -0800

Louis,

First, the field you indicated as flags is not flags, but
a pointer to a security attributes structure. Unused in
Win98, not required in WinNT/2000. Can be replaced by
a null (or zero). Or, so says the api from Borland/Microsoft.

Normally, and especially for older functionality such
as CreateDirectory, the api from Borland is complete and
correct, and should be consulted thoroughly.

Function: CreateDirectory ( zname flags -- res )

: CreatApplication ( -- )
   Z" C:\Test Wankel Motor" 0 CreateDirectory . ;

Rick

*********** REPLY SEPARATOR ***********

On 12/18/2001 at 1:55 PM Schmitt Louis Jean-Pierre wrote:

>Y have started an find action of MSDM and have not found the value of
>the flag neded for use the function CreateDirectory
>
>Function: CreateDirectory ( zname flags -- res )
>
>Y will use this fonction for create an new directory
>
>For Exemple:
>
>: CreatApplication
>
> Z" C:\Test Wankel Motor" \ Name of directory
> flags ??????? \ What is the value for
> \ this flags ?????
> CreateDirectory \ Create the directory
> ResultTest \ Test the result
>;
>
>Question
>
>1) Have an error an my definition
>2) What is the value of the flags

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Tue Dec 18 2001 - 07:22:08 PST

This archive was generated by hypermail 2.2.0 : Sat Nov 22 2008 - 03:04:20 PST