In C you can declare a function like this
int average( int first, ... )
Where the ellipses denote a variable argument list.
If I have a function like that in a c++ DLL and I want to link a Visual Basic GUI to it, how would that function be declared in the Visual Basic program?
The Visual Basic 6 text I have talks about something called Optional Variant but it looks like it will only apply for one variable and not a list of unknown variables.