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

Вниз

Как можно узнать?   Найти похожие ветки 

 
Man-In-Red ©   (2002-08-20 19:11) [0]

Cколько памяти (RAM) будет жрать мое приложение?


 
kima ©   (2002-08-20 19:12) [1]

скачай прогу taskinfo2002
и проверяй


 
Man-In-Red ©   (2002-08-20 19:15) [2]


> kima © (20.08.02 19:12)

Попробую, но вообще, сколько кушает памяти каждая переменная или константа? Ну например Integer, String, TFont, TColor и другие?


 
RV ©   (2002-08-20 19:18) [3]

sizeof


 
kima ©   (2002-08-20 19:26) [4]

> Man-In-Red © (20.08.02 19:15
так тебе надо сколько твоя
прога занимает или ее var/const?


 
Man-In-Red ©   (2002-08-20 19:27) [5]


> RV © (20.08.02 19:18)

Спасибо...


 
Man-In-Red ©   (2002-08-20 19:28) [6]


> kima © (20.08.02 19:26)

Ну можно сколько и моя прога вообще!


 
kima ©   (2002-08-20 19:33) [7]

щас посмотрю наверняка win32.hlp есть


 
kima ©   (2002-08-20 19:41) [8]

The LocalSize function returns the current size, in bytes, of the specified local memory object.

UINT LocalSize(

HLOCAL hMem // handle of local memory object
);
Parameters

hMem

Identifies the local memory object. This handle is returned by the LocalAlloc, LocalReAlloc, or LocalHandle function.

Return Value

If the function succeeds, the return value is the size, in bytes, of the specified local memory object. If the specified handle is not valid or if the object has been discarded, the return value is zero. To get extended error information, call GetLastError.

Remarks

The size of a memory block may be larger than the size requested when the memory was allocated.
To verify that the specified object"s memory block has not been discarded, call the LocalFlags function before calling LocalSize.

See Also

LocalAlloc, LocalFlags, LocalHandle, LocalReAlloc

Не подойдет? тока что сувать в hmem не придумаю nil не подходит
0 - oleout32.dll error
1 - черт ногу сломит error


 
kima ©   (2002-08-20 19:43) [9]

эй осторожно!!! у мя комп грохнулся после нескольких тестов!!


 
Man-In-Red ©   (2002-08-20 19:58) [10]


> kima © (20.08.02 19:43)

Ладно, сенкс...



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

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

Наверх




Память: 0.48 MB
Время: 0.022 c
3-3272
kinder
2002-08-12 14:07
2002.09.02
Выпадающий список в DBGrid


14-3570
AZ
2002-08-05 13:31
2002.09.02
Время работы винчестера


14-3620
kull
2002-08-08 11:47
2002.09.02
Кто займется дизайном?


1-3344
Bams
2002-08-21 18:10
2002.09.02
Ошибка сразу в начале программы


6-3541
KAA
2002-06-23 18:03
2002.09.02
Indy 8 компоненты не освобождают память