Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obter Diretorio Windows System no Win 2000
Message
 
To
08/04/2002 14:59:00
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00642317
Message ID:
00642321
Views:
10
Segue abaixo:
DECLARE INTEGER GetSystemDirectory IN kernel32; 
    STRING @ lpBuffer,; 
    INTEGER nSize 

lpBuffer = SPACE (250) 
nSizeRet = GetSystemDirectory (@lpBuffer, Len(lpBuffer)) 

IF nSizeRet <> 0 
    lpBuffer = SUBSTR (lpBuffer, 1, nSizeRet) 
    ? lpBuffer 
ENDIF 
Retirado de http://www.news2news.com/vfp/?example=5&function=5
Cordialmente,

Fabiano Costa
Previous
Reply
Map
View

Click here to load this message in the networking platform