On Nov 30, 2005, at 11:16 AM, dda wrote:
Thank you Christian. I am not sure this would work, so I have taken
another route:
Declare Sub myfunction Lib myLib (x As Integer, p As Ptr)
Declare Sub myfunction Lib myLib (x As Integer, i As Integer)
Declare Sub myfunction Lib myLib (x As Integer, b As Boolean)
Yes, that's the way to do it.
(ParamArray and varargs are two completely different solutions to the
same general problem; they are not compatible. Don't use ParamArray
on a declare statement.)
Mars Saxman
REAL Software
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|