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?
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
How to create a directory?
How to create a directory?
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.
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?
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
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?
Ok, I'll use MakeDir() then, thanks.