Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obter Diretorio Windows System no Win 2000
Message
De
08/04/2002 14:59:00
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Obter Diretorio Windows System no Win 2000
Divers
Thread ID:
00642317
Message ID:
00642317
Vues:
36
Uso a seguinte função abaixo p/ obter o diretorio windows system , mas no Win 2000 esta retornando um string em branco.
Allguem tem alguma solução para o problema ?

Agradeço antecipadamente.

Peter
function sysdir

local x
local retlen
local winsysdir

* This gets the windows system directory
string= replicate(chr(0), 144)
x = RegFn("GetSystemDirectory", "@CI", "I")
retlen = CallFn(x, @string, 144)
winsysdir=LEFT(string, retlen)
Return(winsysdir)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform