P/Invoke with Shell32, bypass Interop.Shell32.dll generation?

Most of the Windows Shell API features have P/Invoke entry points that return COM interfaces, so you should rarely need to explicitly create a ShellClass CoClass instance. (The objects you are using Folder and FolderItem are mostly meant for use by late-bound clients such as script languages; with C# you can do much better.).

In my experience, the most effective way to use the shell API from managed code is to use the Windows API Code Pack. This wraps up all the useful parts of the shell API and makes it trivially accessible from managed code. The download includes lots of examples to get you on the way.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions