Mont,
Good to know that out goes with **. I'll switch back to using ref and allocing the struct while I continue to look for the source of the problem.
It doesn't. There's no difference in the indirection level between ref and out, they only differ in the direction data is being copied. So if it truly is an output parameter you can keep using out. Do you have calling code that works in some other language that we can compare with? Also, you didn't answer Steve's question about which calling convention is being used. Mattias =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com