i'm migrating from PB 12.5 to PB 2019-R2.
In PB 12.5 to get the path of the userprofile folder, I used this syntax declaring an external global function.
FUNCTION Long GetTempPath(Long nBufferLength, REF String lpBuffer) LIBRARY "KERNEL32.DLL" ALIAS FOR "GetTempPathA;Ansi"
I have 2 questions:
1) Is in PB2019-R2 a way to have the TEMP folder with an embedded powerbuilder function?
2) How can I declare a function that works even with 32 and 64 bit environment?