Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert from VB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00719715
Message ID:
00719742
Vues:
17
>Hi All
>
>I need to work with a DLL there are some sample code supplied for VB and I am having trouble converting it to VFP7.
>
>Here is the VB declare code.
>
>
>Declare Function Logger_FileDownload Lib "Taglogger.dll" (ByRef filename As TagloggerFile, ByVal data As String) As Long
>
>

Hi John
Without knowing what kind of structure / record / object the TagloggerFile is, it is hard to know how to translate it into VFP.

Is it a COM object? Can you do something as CREATEOBJECT("xxxx.TagloggerFile")? Or it is a data structure -in that case you could mimic it with a string dimensioned to the right size; i.e. SPACE(72)

Regards,
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform