FranklinYeung
Programmer
Hi,
How can I get the window directory from VFP6? andy function to do this?
Many Thx.
Franklin
How can I get the window directory from VFP6? andy function to do this?
Many Thx.
Franklin
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECL INTEGER GetWindowsDirectory IN KERNEL32 AS GetWinDir STRING @lcBuffer, Long lnSize
lcBuffer= SPACE(260)
lnSize = 260
=GetWinDir(@lcBuffer,lnSize)
*// Now you have the windows directory in the string
*// variable lcBuffer, You can test this by ...
? lcBuffer
*// Don't forget to free your memory
CLEAR DLLS