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:
00720034
Views:
10
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform