how to assign constant address to pointer at pascal?

224 views Asked by At

I can't find how i can set constant address to pointer in Delphi (Pascal). I need it for search unit and linenumber in map file with jclDebug. For example:

var
  P : pointer;
  info : TjclLocationInfo;
begin
  P := $016199E3;
  info := jclDebug.getLocationInfo(P);
end;

Thanks!

1

There are 1 answers

0
Kromster On

Simply cast to a pointer: P := Pointer($016199E3);