FUNCTION ulong GetCurrentDirectory (ulong nBufferLength, ref string lpBuffer) Library "KERNEL32.DLL" Alias for "GetCurrentDirectoryA"
However, if the user has used any system browse dialogs since starting your application then the returned value will be the last directory they browsed to. Capture the directory early on in your application initialization.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.