Hi guys,

does anyone have any idea about how to go to implement a dynamic proxy in vb? what I would like to do is to be able to call a non-existing method on a dynamicproxy object, and have the object work out how to deal with the call.

this would allow me, for example, to write a dynamic proxy decorating another object, and doing some logging before dispatching the call to the wrapped object.

I saw there is an invoke method called on all objects to handle method call dispatching, and I guess I should override that, but I haven't found a single proof-of-concept example showing how to do that.

thanks for any help!
J.