project BLF > class Win32Lib > method SetCurrentDirectory

function returns integer

Description

Set the working directory for the current process (prowin32.exe or _progres.exe)


Parameters


icWorkingDirectoryinputcharacterWorking directory of the current process


Internal usage


unused


program code (program1/win32lib.p)

&message UTF-8: convert to WCHAR & use 'SetCurrentDirectoryW'
run SetCurrentDirectoryA (input icWorkingDirectory, output viOut).

return viOut.