anasexpert
asked on
what is my name ?
just my name ?
What the hell...? Your user name? The name that your computer is registered to?
Hu? What kind of question is that?
There's a german fairy tale where the main "actor" offers luck and gold to a girl if she finds out his name which is "Rumpelstilzchen"...
Ciao, Mike
There's a german fairy tale where the main "actor" offers luck and gold to a girl if she finds out his name which is "Rumpelstilzchen"...
Ciao, Mike
What the hell...? Your user name? The name that your computer is registered to?
Sorry - waited ages to send the comment, and re-tried after Lischke
your name is anasexpert ;-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hehe, go to sleep again, please.
Perhaps you mean this one?
function GetMyUserName : string;
var arrCh : array [0..MAX_PATH] of char;
size : dword;
begin
size := MAX_PATH;
if GetUserName(arrCh, size) then
result := arrCh
else result := '?';
end;
Regards, Madshi.
function GetMyUserName : string;
var arrCh : array [0..MAX_PATH] of char;
size : dword;
begin
size := MAX_PATH;
if GetUserName(arrCh, size) then
result := arrCh
else result := '?';
end;
Regards, Madshi.
ASKER
you're so kind Madshi ..thank's for that.
? who is Ans Madani
? what has this to do with delphi
? what has this to do with delphi
Hi anasexpert, next time please give *ME* the points, if you like my answer. Now they've gone to someone else... :-/