Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting a VB Statement (DECLARE -DLL)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00170521
Message ID:
00170672
Vues:
20
Hi Alejandro,

>The VB code for this function.
>
>Dim objMy As acode1
>Dim r As Object
>Dim hlon As String, hlat As String, Rv As Double, Glon As String, GLat As String
>Dim Dearth As Double, ra As String, dec As String, asize As Double
>Dim elong As Double, phs As Double, mag As Double
>
>Set objMy = New acode1
>Set r = objMy.calcplanets("12/23/1997", "12:15", 89.03, 6, 42.41, "W", _
> "JUP", 4, hlon, hlat, Rv, Glon, GLat, Dearth, ra, dec, asize, elong, phs, mag, False)

I don't know much VB, but this surely looks like a COM object creation, not a DLL call. In VFP it would be something like:

objMy = CreateObject( "xyz.acode1" )
objMy.CalcPlanets(...)

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform