Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetUserName from a 16 bit program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147513
Message ID:
00148056
Vues:
31
>>>I am trying to obtain the User name from the OS in a Win95 or NT environment from a 16 bit FoxPro (2.6 for windows) program. This is easily done from a 32 bit program using the GetUserName API. Can I address the 32 bit API from a 16 bit program? Or, is there another way of obtaing the User Name from a 16 bit app??
>>
>>ID() function's been around awhile, can you use that?
>
>I didn't even know that function existed. Try bringing up Help for that function "help id()". I get an error: "too many arguments" for "help id()" and "missing expression" for "help id" (VFP5/6)

I guess we now know that that's an old dbase name of sys(0) :)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform