I have a dll written in C.
When I use one of the functions I get the following error:
ByRef argument Type Mismatch
and it highlights a variable that I'm passing.
The variable is of a User Type that I declare before using.
Any ideas??
thanks,
Printable View
I have a dll written in C.
When I use one of the functions I get the following error:
ByRef argument Type Mismatch
and it highlights a variable that I'm passing.
The variable is of a User Type that I declare before using.
Any ideas??
thanks,
Try
Byval Param as Variant
I can't because it's a user defined type variable.
Its very hard to guess the problem without seeing some of your code.
;)
Thanks,
I figured it out. It had to do that the type was declared twice.