If I define eData as a variant in the VB6 program, the program compiles.
I ran the program and set a breakpoint after the assignment statement (eData = emp.ReturnEmpData()). In the immediate window I typed “? eData” and it printed Employee.EmpData.
OK. So now I have Employee.EmpData as a Variant in my VB6 program. Now I just have to figure out how to use it. Crap, it’s been too long since I’ve done anything with variants…
Troubleshooting in my blog as I go along. Talk about open kimono. (yuck)
I think I’ll take this offline for a while.