Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting a VB Statement (DECLARE -DLL)
Message
 
To
27/12/1998 18:12:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00170521
Message ID:
00170672
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform