>I need to pass this type to a API call.
>
>This is VB definition
>Public Type BROWSEINFO
> hOwner As Long
> pidlRoot As Long
> pszDisplayName As String
> lpszTitle As String
> ulFlags As Long
> lpfn As Long
> lParam As Long
> iImage As Long
>End Type
>
There's no API call here - this is simply a 32 byte string, with the third and fourth entries pointed to a fixed memory location. It's probably be referenced somewhere in a DECLARE...DLL statement as a STRING @ parameter, but without the declaration for the thing using it, I'm guessing.
You could build this structure using Christof Lange's STRUCT class or my CLSHEAP class; you need something to maintain static pointers for your two strings whose addresses are embedded in the structure, and both can do this.
>I want to convert it to VFP. How can i do it? or if someboby could send me the code to VFP.