I'm not quite sure if using the Interop.Allocate function is safe enough for this though. Maybe you're better of using the memory allocation APIs from windows directly. In that way you know exactly where you're doing what. And you can perfectly control the scope and lifetime of the allocated memory.
EDIT:
quote:
Originally posted by effection
non of you understand this at all
Sorry for saying this and certainly no offense, but I think we all understood your very good. And seeing what you finaly did in that other thread, it confirms what we were saying all this time though....