Hi,
I need to learn more about using SHFileOperation function in C program.
Please, if you can provide me with refs or any examples, I would appreciate
that.
Hi,
I need to learn more about using SHFileOperation function in C program.
Please, if you can provide me with refs or any examples, I would appreciate
that.
When I opened this post and read it, I didn't recognize this function.
I figured it looked like a Windows API function, but I went to google first.
This was the first hit: http://msdn.microsoft.com/library/en...asp?frame=true
Learn how to search. It will seriously make you a better a programmer.
Um, sorry, but I just searched and retrieved the link for you, and now you want me to learn about the function, guess at what you want to do with it, and then write the code for you?
Sorry, I don't feel like doing this kind of homework today.
Moved to correct forum, it's a win32 API question.
@Moony. MSDN has many examples of most things, if you care enough to go looking for them.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
http://msdn2.microsoft.com/en-us/library/ms645747.aspx
A full sample that demonstrates the extension of IFileOperation is included in the Windows Software Development Kit (SDK). In a default installation, it can be found at %ProgramFiles%\Microsoft SDKs\v6.0\Samples\WinUI\Shell\AppPlatform\FileOper ations.IFileOperation Interface
Exposes methods to copy, move, rename, create, and delete Shell items as well as methods to provide progress and error dialogs. This interface replaces the SHFileOperation function.
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
the MSDN page http://msdn.microsoft.com/library/de...eoperation.asp is pretty clear on its use.