Support Board
Date/Time: Sat, 18 Jan 2025 19:25:39 +0000
Post From: ACSIL - Creating a new directory
[2018-02-25 20:23:39] |
Zosimus - Posts: 345 |
What is the way to create a new folder/directory from an ACSIL code? At the moment I use the Windows API CreateDirectory() function but I'm getting comiling errors. The code I use is: CreateDirectory(L"\\LV3_Folder", NULL);
the window API is included of course. The compiling error - cannot convert 'const wchar_t*' to 'LPCSTR {aka const char*}' for argument '1' to 'WINBOOL CreateDirectoryA(LPCSTR, LPSECURITY_ATTRIBUTES)' CreateDirectory(L"\\LV3_Folder", NULL); |