Now generates asm.
Does not match c# imp.
Still need to check for memory leaks.