 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alex C Guest
|
Posted: Wed Sep 21, 2005 7:11 pm Post subject: help reading contents in memory |
|
|
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 Guest
|
Posted: Sat Sep 24, 2005 11:45 pm Post subject: Re: help reading contents in memory |
|
|
Hoi Alex
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
|
|