Link to home
Start Free TrialLog in
Avatar of anasexpert
anasexpertFlag for United States of America

asked on

what is my name ?

just my name ?
Avatar of bogieman_
bogieman_

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
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
Avatar of kretzschmar
your name is anasexpert ;-)
ASKER CERTIFIED SOLUTION
Avatar of alim_maze
alim_maze
Flag of Sudan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of anasexpert

ASKER

you're so kind Madshi ..thank's for that.
? who is Ans Madani
? 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...   :-/