Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows 95 API SHFileOperation
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092316
Message ID:
00092561
Views:
26
>>>Has anyone used the SHFileOperation API call in SHELL32.DLL ? it presents the user with a Win95 dialogue box that you see when either copying, renaming, deleting or moving files ( you know the one with the folder flying across the box? ), as it expects to be passed a C type struct I am confused as to how to access it?.
>>>Many thanks
>>>Peter Kane
>>
>>You can emulate the structure by passing a string containing the concatenated values. However, the structure calls for pointers to strings, so you'll need something like Vlad Tatavu's Pointers Class to get that information.
>
>George,
>thank you for your help, however the structure is a mixture of longs and strings, if I concatenate the structure into a string do I need a pointer to the entire string?
>Still confused
>
>Pete Kane
>
>n.b I have the Pointers class.

Simply pass the string by reference once it's built. Be sure, in the declaration, to indicate it as such (using the @ symbol).

I haven't played with this function, but I'd be interested in hearing about the results.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform