PDA

Click to See Complete Forum and Search --> : Method of calling an API?


Thomas Halsvik
Jun 15th, 2000, 05:47 PM
I want to use the CallByName function that comes with VB6. I've got VB5 and I have the Msvbvm60.dll that belongs to VB6.
I've declared the rtcBeep() and it works fine (was just a test).

Problem is to declare the
rtcCallByName(control, function, indata to the function)
(the last - indata - is probably a ParamArray)

Anyone know how to declare it? Is it just to declare as it is in VB6? If so, anyone got the exact declaration?