How do I get the application directory for a PB5-16 app?
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 )