tags:

views:

31

answers:

0

hi all,

i created an activeX-dll which returns a class object (let's call it myclass).

the problem: although i got myclass added in my host-project, i'm getting a type mismatch error when trying to define the returned object as myclass like:

sub dll_done(obj as myclass)

it only works with type variant. seems like it's something with the reference. how can i fix it?

thx