I have a dll that need to be loaded at runtime by a VB 6 application.
The VB 6 code must load the dll, and call a method that returns a pointer. After that, you must make another call, passing the pointer as first argument and some strings as the others.
The string must be passed as reference, since the dll will write in those strings - and you should be able to read it back in VB code.
I can provide examples in c# and java.