COM Interop – C# type consumed by VB6 program – part 4. Still searching, but getting closer…

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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s