Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert from VB
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00719715
Message ID:
00719742
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform