• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

ram disk

Hi guys!

Is there a way to program a ram disk in Delphi?

best regards,
Manuel Lopez (lopem)
1 Solution
Hi, lopem
I'm not sure what you mean under "ram disk". Some storage in the memory, where you save your files? Is it possible to be done under WINDOWS at all? You never know what is ram and what is the paging file - in fact, for the windows memory manager (WMM) the RAM is just a special piece if the paging file.
You can tell to WMM to lock a page in the ram, but it is very bad practice if you do it for many pages and for long time. It is basicaly made to be used by VxDs
A real RAM disk (which shows up in My Computer) can only be realized by writing a driver. And unfortunately you can't write drivers with Delphi...   :-(

Regards, Madshi.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now