Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.022 c
1-1099457813
leonidus
2004-11-03 07:56
2004.11.21
Создание своей панели в IE


1-1100069141
YuriS
2004-11-10 09:45
2004.11.21
MDIForm


6-1094826643
AlexXn
2004-09-10 18:30
2004.11.21
ISAPI приложения


3-1098196764
Kat
2004-10-19 18:39
2004.11.21
запросом как вывести год из этого поля!?


14-1099672063
Agent13
2004-11-05 19:27
2004.11.21
Delphi 8, 9 и WinXP Home




   Наверх