Главная страница
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.044 c
1-1099987537
TUser
2004-11-09 11:05
2004.11.21
dcu -> exe


4-1097498188
Comp
2004-10-11 16:36
2004.11.21
Подсказки на ToolBar


1-1099837483
snake1977
2004-11-07 17:24
2004.11.21
DropDown


3-1098175901
Aleksandr.
2004-10-19 12:51
2004.11.21
Можно по мышке как-то получить значение поля в RxDBGrid е?


1-1099640079
denis24
2004-11-05 10:34
2004.11.21
dbgrid....title