>>>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