This is also one of the easiest ways to work, but without lpSecurityAttributes, like Quadraxas sample.

Quote:
If lpSecurityAttributes is NULL, the directory gets a default security descriptor. The ACLs in the default security descriptor for a directory are inherited from its parent directory.


Code:
#include <acknex.h>
#include <windows.h>

function main() {CreateDirectory(_chr(str_cat(work_dir,"My_New_Folder")),NULL);}




Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P