Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert VB API call to VFP API call
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00258469
Message ID:
00258482
Views:
11
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform