Adapted to .net 2.0 (but why it doesn't see external .dll methods?)