Time Lapse C has not worked for me in the past. The only way I can see that this works, perhaps, is that you completely isolate the use of the stack / heap within the boundaries of the statically linked C-Runtime [nothing crosses borders through parameters, but then what does your vs2009if9 matter .lib provides].
As an example, if you want to select the [heap memory] pointer in the application and pass that pointer to the library you provided, which heap administrator should I use? The correct answer is a heap manager that manages the pointer, but your library will not know about another heap manager. It becomes more ugly if your library allocates memory for use by the application, and it is the responsibility of the applications to free / delete using the provided pointer (poor design, yes, but still possible). Again, the wrong heap manager will be used.
source share