Salut
Comment Faire Pour Afficher Le Contenu d`Un Pointeur en Hexadecimale Dans un `TEdit ` (AnsiString).
exp:
int x=2;
int *y = &x;
Cmment Afficher x;
Merci d`Avance
Salut
Comment Faire Pour Afficher Le Contenu d`Un Pointeur en Hexadecimale Dans un `TEdit ` (AnsiString).
exp:
int x=2;
int *y = &x;
Cmment Afficher x;
Merci d`Avance
Il te suffit d'affecter le résultat dedans ton TEdit.
Code : Sélectionner tout - Visualiser dans une fenêtre à part AnsiString__ fastcall IntToHex(intValue,intDigits);
Par exemple
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 int x=2; Edit1->Text = IntToHex(&x,8);
MD Software
---------------------------
F.A.Q. Delphi - Cours Delphi - Composants Delphi - Sources Delphi
Partager