Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
URGENT - How to get the windows directory ????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00209217
Message ID:
00209224
Vues:
13
Thanks for your quickly reply

I see the SysDir Message of Ed Rauh in this foroum with this:
DECLARE INTEGER GetWindowsDirectory IN Win32API ;
	STRING  @cLocation, ;
	INTEGER nSize
LOCAL cLocation, nSize

m.cLocation = SPACE(256)
m.nSize = GetWindowsDirectory(@cLocation, 256)

IF nSize > 0
	*
	* Got it - it's the size of the return
	*
	cLocation = LEFT(m.cLocation,m.nSize)
ELSE
	*
	*  An error occurred when retrieving the value - return the null string
	*
	cLocation = ''
ENDIF
This code works OK!

Thanks again!
Lic. Esteban Bruno
Gerente de Sistemas
TASSO S.R.L.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform