Question:
How do I get the application directory for a PB5-16 app?
Answer:
You can use the API call GetCurrentDirectory when your application starts to find out its home directory. The API call should be defined as follows:
Function ulong GetCurrentDirectoryA (ulongtextlen, ref string dirtext) library"KERNEL32.DLL"
Then preallocate a string and call the function:
String ls_Als_A = Space( 255 )GetCurrentDirectoryA( ls_A, 255 )
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























