yeah i know .. that's y i was asking.
I used the following thing to display the address
Delphi Code:
[url=#top]
[/url]Original
- Delphi Code
var
ptrMailId : ^PChar;
ptrPassword : ^PChar;
begin
ptrMailId := @mailId;
ptrPassword := @mailPass;
MessageDlg ('Email = ' +IntToStr(Integer(ptrMailId)), mtCustom, mbOKCancel, 0);
MessageDlg ('Password = ' +IntToStr(Integer(ptrPassword)), mtCustom, mbOKCancel, 0);- var
- ptrMailId : ^
- PChar
- ;
- ptrPassword : ^
- PChar
- ;
- begin
- ptrMailId := @mailId;
- ptrPassword := @mailPass;
- MessageDlg
- (
- 'Email = '
- +
- IntToStr
- (
- Integer
- (
- ptrMailId
- )
- )
- , mtCustom, mbOKCancel,
- 0
- )
- ;
- MessageDlg
- (
- 'Password = '
- +
- IntToStr
- (
- Integer
- (
- ptrPassword
- )
- )
- , mtCustom, mbOKCancel,
- 0
- )
- ;
Copy Code
But it gave me error pointing on 'strPointer' that it is not compatible. How can i display this address.
P.S:
I just want to know how can i display the address, don't want ideas that i can watch the address while debugging or something else. Thnks |