请提供一些与内存有关的函数(今天不爽;送分)

newyj 2001-08-01 06:38:56
请提供一些与内存有关的函数
...全文
188 24 打赏 收藏 转发到动态 举报
写回复
用AI写文章
24 条回复
切换为时间正序
请发表友善的回复…
发表回复
newyj 2001-08-03
  • 打赏
  • 举报
回复
up
trainbox 2001-08-03
  • 打赏
  • 举报
回复
我看啊,这个300分不知道明年发出去没有
wljcr 2001-08-03
  • 打赏
  • 举报
回复
帮你UP!
windindance 2001-08-02
  • 打赏
  • 举报
回复
我只会用CopyMemory,FilMemory,ZeroMemory:)
dana 2001-08-02
  • 打赏
  • 举报
回复
up
trainbox 2001-08-02
  • 打赏
  • 举报
回复
up
wljcr 2001-08-02
  • 打赏
  • 举报
回复
DeleteObject 从内存删除一个对象
DialogBoxIndirectParam 从内存模块中建立对话框
CreateDialogIndirectParam 从内存模块中建立非模态对话框
HeapAlloc 从堆中分配内存
HeapReAlloc 从堆中重分配内存
LocalAlloc 从堆分配内存
LocalUnlock 开锁本地内存块
GlobalUnlock 开锁全局内存块
HeapCompact 压缩内存堆
ReadProcessMemory 在进程中读内存
WriteProcessMemory 在指定进程中写内存
GlobalAlloc 在堆中分配内存
LocalSize 返回本地内存块大小
LocalFlags 返回本地内存块信息
GlobalSize 返回全局内存块大小
GlobalFlags 返回全局内存块信息
LocalReAlloc 修改本地内存大小及属性
GlobalReAlloc 修改全局内存块大小/属性
ZeroMemory 将一块内存置零
GlobalMemoryStatus 检查内存状态
HeapFree 释放从堆中分配的内存
LocalFree 释放本地内存信息
GlobalFree 释放全局内存块
GlobalLock 锁定内存对象并返回一个指针
LocalLock 锁定本地内存对象并返回指针
LoadKeyboardLayout 键盘布置装入内存
Randy_Mic 2001-08-02
  • 打赏
  • 举报
回复
想分
backlove 2001-08-02
  • 打赏
  • 举报
回复
没的说了,会的都有了,不会我等着听
dancemaple 2001-08-02
  • 打赏
  • 举报
回复
分配内存:AlloMem(Size: Cardinal): Pointer;
释放内存:FreeMem
flypuma(飞豹) 说得太详细了,呵呵。
flyonet 2001-08-02
  • 打赏
  • 举报
回复
看看DDG5吧
delphi_user 2001-08-02
  • 打赏
  • 举报
回复
关注一下,蹭点分
delphi008 2001-08-02
  • 打赏
  • 举报
回复
你想要的函数在任何一本小册子里都有,但是我觉得对每一个函数的比较理解,然后加以应用实践,这才是真正你所需要的,是吗,我在学习中就坚持这样做,效果还是不错的,这是我的一点心得,希望对你有帮助.谢谢.
newyj 2001-08-02
  • 打赏
  • 举报
回复
up
shdshd 2001-08-01
  • 打赏
  • 举报
回复
就是memorystatus
ch81 2001-08-01
  • 打赏
  • 举报
回复
这些函数很多,你要具体实现什么功能呢?
VSaber 2001-08-01
  • 打赏
  • 举报
回复
俺记东西太笨了,会的一点都被别人说光了,看来没分了!埃,命苦阿!
flypuma 2001-08-01
  • 打赏
  • 举报
回复
AllocMem function

Allocates a memory block and initializes each byte to zero.

AllocMemCount variable

Represents the total number of allocated memory blocks in an application.

AllocMemSize variable

Represents the total size of allocated memory blocks.

GetHeapStatus function

Returns the current status of the memory manager.

GetMemoryManager procedure

Returns the entry points of the currently installed memory manager.

HeapAllocFlags variable

Flags that indicate how the memory manager obtains memory from the operating system.

IsMemoryManagerSet function

Indicates whether the memory manager has been overridden using the SetMemoryManager procedure.

ReallocMem procedure

Reallocates a dynamic variable.

SetMemoryManager procedure

Sets entry points of the memory manager.

SysFreeMem function

Frees the memory pointed to by a specified pointer.

SysGetMem function

Allocates a specified number of bytes and returns a pointer to them.

SysReallocMem function

Returns a pointer to a specified number of bytes, preserving the values pointed to by the Pointer parameter.
smile_and_smile 2001-08-01
  • 打赏
  • 举报
回复
同样不爽,给分!!
tikkypeng 2001-08-01
  • 打赏
  • 举报
回复
呵呵~
加载更多回复(4)

5,392

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧