Главная страница
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.021 c
1-3478
Zevs_mv
2002-08-21 10:23
2002.09.02
Мастера помогите с Excel


1-3514
Esu
2002-08-19 19:44
2002.09.02
Получение полного пути к программе


1-3363
Kolya
2002-08-22 06:45
2002.09.02
Кнопки в DBGrid


1-3422
MikeZ
2002-08-22 16:52
2002.09.02
Как получить список запущеных exe-шников? Не окон, а файлов.


1-3339
Smok_er
2002-08-21 18:27
2002.09.02
DblClick на Tab e PageControl a