Página 1 de 1
How to create a directory?
Publicado: Lun Abr 04, 2011 11:36 pm
por Guest
Hi,
According to the xHarbour help in ..., hb_fsMkDir is in the RTL.lib.
However, after including the RTL.lib in the project, there is still an
external error, when using the hb_fsMkDir function.
Error: Unresolved external '_HB_FUN_HB_FSMKDIR' referenced from
Is there an recommended alternative to hb_fsMkDir?
How to create a directory?
Publicado: Mar Abr 05, 2011 4:19 am
por Guest
Sorry, I was at the office, and clicked Send too quickly.
According to the xHarbour help in ..., hb_fsMkDir is in the RTL.lib.
should be
According to the xHarbour help in xailer2xharbourxharbour.chm,
hb_fsMkDir is in the RTL.lib.
How to create a directory?
Publicado: Mar Abr 05, 2011 5:50 am
por Xailer
HI Childers
According to xHarbour help MakeDir() do the same and works fine
MAKEDIR()
Create a new directory
Syntax
MAKEDIR( <cDirectory> ) --> nError
Arguments
<cDirectory> The name of the directory you want to create.
Returns
<nError> 0 if directory was successfully changed, otherwise the number of the last error.
Description
This function attempt to create a new directory with the name contained in <cDirectory>.If this function fail, the it will return the last OS error code number.See FERROR() function for the description of the error
Examples
cDir:= "Temp"
If (MAKEDIR( cDir)==0)
? "Directory ",cDir," successfully created
Endif
All the best
Dionisis
How to create a directory?
Publicado: Mié Abr 06, 2011 2:09 pm
por Guest
Ok, I'll use MakeDir() then, thanks.