 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alex C Guest
|
Posted: Thu Sep 22, 2005 5:23 pm Post subject: Help reading pointer |
|
|
In the following code, i'd like to read dirrectly the content of
dataIn.pbdata to put the result(DataOut) after an encryption in a edit2
component for example
The property of DATA_BLOB structure are the folwing
DATA_BLOB.pbData = PByte;
DATA_BLOB.cbData = cardinal;
var
DataIn,DataOut:DATA_BLOB;
cbDataInput : LongInt;
pbDataInput : PByte;
bDataInput:string;
begin
bDataInput:= edit1.text;
pbDataInput:=PByte(@bDataInput[1]);
cbDataInput:=StrLen(@bDataInput[1])+1;
DataIn.pbData:= pbDataInput;
DataIn.cbData:= cbDataInput;
....code that encrypting the DataIn into DataOut (CryptUnprotectData)
end
Thanks a lot
|
|
| Back to top |
|
 |
Riki Wiki Google Guest
|
Posted: Sun Sep 25, 2005 8:34 am Post subject: Re: Help reading pointer |
|
|
Hoi Alex
You should repost your question in the
b.p.delphi.language.delphi.general group and use the Borland news
server.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|