Ver Mensaje Individual
  #2  
Antiguo 01-03-2009
Avatar de xEsk
[xEsk] xEsk is offline
Miembro Premium
 
Registrado: feb 2006
Posts: 454
Reputación: 19
xEsk Va por buen camino
Imagino que preguntas como convertir un PByte a Byte, para eso debes hacer un casting a Byte:

Ejemplo:
Código Delphi [-]
procedure TForm1.Button1Click(Sender: TObject);
var
  puntero: PByte;

begin
  // obtenemos un PByte con el numero 13
  puntero:=PByte(13);
  // mostramos el valor del byte
  ShowMessage(IntToStr(Byte(puntero)));
end;

Saludos
Responder Con Cita