How do you return a C# struct to a VB6 calling program? (Good ol’ COM Interop) :-|

I’ve beaten my head against the wall time and again over the weekend, and still haven’t been able to figure it out.

Returnin a string or an int isn’t a problem, but when I try to return a struct that consists of a couple of string fields, you’d think I was calling BillG an open source lover by the way the VB6 compiler reacts.

Yes, the [StructLayout] attribute is redundant, since it’s the default for C# and VB .NET, but hey, I’m desperate. (And I have tried it with and without the [Guid] attribute in front of the struct. Same result.)