Главная страница
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.011 c
3-3231
chistyakov
2002-08-09 16:40
2002.09.02
Десятичное число в dbf


1-3368
SB
2002-08-22 09:38
2002.09.02
Отлов изменений в Clipboard


3-3300
Роман Фадеев
2002-08-13 12:17
2002.09.02
Беда с INSERT


3-3305
bobr12
2002-08-13 13:22
2002.09.02
Как удалить генратор в InterBase


14-3574
AL2002
2002-08-05 18:25
2002.09.02
А есть в И-нете летописи о конкурсах КВН?