Hi Alejandro,
>I think CalcPlanets function receive not one but several items perhaps a struct.
>
>So, How may I issue the DECLARE statement ?
Once again... :)
The VB code that you showed to us does merely create a COM object which receives several simple parameters and returns another object. There's no structure and no DLL involved here. You don't need a DECLARE statement, rather use CREATEOBJECT() as outlined in my last message.
Christof
--
Christof