Embedded Systems
memaware.txt
Associated article: Memory-Aware Components
Tags:
Published and unpublished source code accompanying the article by Kirk J. Krauss in which he points out that in an ideal world, your programs gracefully handle out-of-memory conditions and keep running. But in the real world....
Memory-Aware Components by Kirk J. Krauss // Listing 1 // // Demonstrates a technique for intercepting virtual memory API functions on // Windows, and for establishing a vectored exception handler that will catch // out-of-memory conditions and do something intelligent with them. This // code compiles, as ...