Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.11.21;
Скачать: CL | DM;

Вниз

Вопрос по TMemoryStream   Найти похожие ветки 

 
axx   (2004-11-10 11:06) [0]

В KOL для PStream есть замечательная функция
Stream:=NewExMemoryStream(Pointer,Size);
Вопрос в следующем можно ли для класса TMemoryStream сделать нечто подобное те передаем в ф-цию указатель и длинну каконить переменной и работаем с ней как с потоком.


 
Reindeer Moss Eater ©   (2004-11-10 11:08) [1]

TStringStream например


 
Reindeer Moss Eater ©   (2004-11-10 11:11) [2]

TMemoryStream
.....

Note: Memory is a read-only property. Memory can be used to change the contents of the memory, but to set the actual memory the stream works with, descendants of TCustomMemoryStream must assign a pointer to a memory buffer by calling the SetPointer method.


 
ЮЮ ©   (2004-11-10 11:30) [3]

а что, у NewExMemoryStream закрытый код? создай экземпляр TMemoryStream  вместо PStream!



Страницы: 1 вся ветка

Текущий архив: 2004.11.21;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.059 c
3-1098755030
Dimm
2004-10-26 05:43
2004.11.21
dbExpress for Delphi-5


1-1100082530
frEEstyler
2004-11-10 13:28
2004.11.21
как передать имя открытого файла программе


1-1099780146
Змей
2004-11-07 01:29
2004.11.21
treeview


3-1098692061
starling13
2004-10-25 12:14
2004.11.21
IBDataSet, IBTable


1-1100078562
Muhsin
2004-11-10 12:22
2004.11.21
Сохранить отчет