How can I access the Public property via BASM?
From: alphax (graphcoloring_at_yahoo.com.cn)
Date: 12/02/04
- Next message: Avatar Zondertau: "Re: How can I access the Public property via BASM?"
- Previous message: Dennis: "Fastcode Round32 B&V 1.2"
- Next in thread: Avatar Zondertau: "Re: How can I access the Public property via BASM?"
- Reply: Avatar Zondertau: "Re: How can I access the Public property via BASM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 02 Dec 2004 14:02:07 +0800
Hi, fastcoders
I has a problem with BASM,
assume there is a unit and declaration:
/////////////////////////////////
unit Unit1;
interface
type
TObj = class
private
fProp1: Integer;
public
property Prop1: Integer read fProp1;
end;
implementation
edn.
/////////////////////////////////
and I want to direct access the Prop1 in other unit via BASM,
/////////////////////////////////
unit Unit2;
interface
implemenation
uses
Unit1;
procedure BASMProc;
var
Obj: TObj;
asm
...
mov eax, Obj.Prop1 //this line can not pass the compilation,
//how can I access it???
end;
end.
/////////////////////////////////
thanks
- Next message: Avatar Zondertau: "Re: How can I access the Public property via BASM?"
- Previous message: Dennis: "Fastcode Round32 B&V 1.2"
- Next in thread: Avatar Zondertau: "Re: How can I access the Public property via BASM?"
- Reply: Avatar Zondertau: "Re: How can I access the Public property via BASM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|