madCodeHook question

From: Dennis Landi (none[at]
Date: 02/03/04

Date: Mon, 2 Feb 2004 22:31:03 -0500


Here is what I am thinking about, and I wonder if madCodeHook can help me.

Basically I want to intercept file access to a particular file, say,

Let's say a tStringlist calls LoadFromFile('c:\temp\A_File.txt')

I want to intercept that call and provide the stringlist with a dynamically
created tMemoryStream?

Is that possible? Is madCodeHook the right tool for the job?

I am a complete hooking api novice, so bear with me.


Find a BUG?
Think its Borland's?
Ask your peers in the news groups?
Still think its Borlands?