I have a C# dll with a number of functions.
I have created by DLL and have created a public interface outside the class to allow VB6 to see the available functions.
I use regasm to register my DLL and create a type library which seems to be fine.
I then start with my very simple VB6 app.
dim a as myComponent.myInterface
dim myReturnString as sting
When it gets to the last line, it returns with an Object variable or with variable error (91).
What am I doing wrong?