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

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



Память: 0.47 MB
Время: 0.01 c
7-3632
Alexcool
2002-06-20 15:35
2002.09.02
Как прочитать и изменить PATH?


3-3258
Xelar
2002-08-12 13:55
2002.09.02
Текущая строка в DBGrid


14-3604
vile
2002-08-07 16:07
2002.09.02
Delphi & Excel


1-3421
Vacheslav
2002-08-22 21:01
2002.09.02
Как програмно повернуть рисунок bmp


4-3672
skiph
2002-07-02 11:40
2002.09.02
DLL




   Наверх