• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

for abel

Please accept a small token for you insightful comments about the SHFileOperation function.  Your comments are appreciated.

1 Solution

Thanks very much, I appreciate this. You probably know that you don't need to give me the extra points (I posted just a comment in your FileCopy question), but since you kindly offer them to me, I'll gratefully accept them.

Because you're probably still on the subject, a little extra note I think is worthwile to be cautious of (now and in the future):
Sometimes an API takes a so called "far pointer" to a string or a Type (struct in C/C++). In easy terms that means that the pointer points to an object in the memory outside your processspace. Most cases I tried to implement a far pointer in VB, I either got an application error or it was just ignored. In SHFILEOPSTRUCT it's the lpszProgressTitle that's the far pointer (it points to an address of Explorer.exe, I think). That's why using it won't work most of the time.

I'm glad I could be of some help to you.

Regards, Abel

PS: For the ones that don't know what this is about, see question at:

SekansAuthor Commented:

You're very welcome.  It's refreshing to know there are experts willing to  offer their wisdom even when there are no points to be gained.  

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now