|
||
| Правила | Регистрация | Пользователи | Сообщения за день | | Поиск | | Справка по форуму | Файлообменник | |
|
![]() |
Поиск в этой теме |
![]() |
#1 | |
Получение из AutoCAD VBA значения объема памяти занимаемого процессом acad.exe
Регистрация: 14.08.2009
Сообщений: 10
|
||
Просмотров: 3657
|
|
||||
Конструктор Регистрация: 29.10.2007
Сообщений: 157
|
WinApi
GetProcessMemoryInfo Retrieves information about the memory usage of the specified process. BOOL WINAPI GetProcessMemoryInfo( HANDLE Process, PPROCESS_MEMORY_COUNTERS ppsmemCounters, DWORD cb); Parameters Process [in] Handle to the process. The handle must have the PROCESS_QUERY_INFORMATION and PROCESS_VM_READ access rights. For more information, see Process Security and Access Rights. ppsmemCounters [out] Pointer to the PROCESS_MEMORY_COUNTERS or PROCESS_MEMORY_COUNTERS_EX structure that receives information about the memory usage of the process. cb [in] Size of the ppsmemCounters structure, in bytes. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|||
![]() |
|
||||
Регистрация: 14.08.2009
Сообщений: 10
|
Цитата:
вот кот (работает непосредственно из VBA в Acad2007 на платформе win7x64) Код:
|
|||
![]() |
![]() |
|
|
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Определение площади поверхности и объема тел в AutoCAD на VBA. | shumilovvv | Программирование | 23 | 21.07.2014 14:44 |