Here is some more information
Public Type TagloggerFile
filename(1 To 13) As Byte
filelength As Long
End Type
John
>>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,