Hi Christian Java or .Net Frameworks approach is far more flexible and easier since the documentation for both online is so vast and there are plenty of places to get help. However a solution using kernel32.dll is also possible. The second parameter - lpSecurityAttributes allows you to add permissions on the directory but if you omit it defaults will be used. Just add an allownull when declaring the parameter in Silk Performer and pass NULL for this parameter in the function call. I have attached a project using the same. (Please visit the site to view this file)
↧