> I'm having a trouble with a Shell.Folder object when I'm trying to use it
> from a C++ application, but at the same time, the same object works fine
[quoted text clipped - 7 lines]
>
> I appreciate any hint to a what causes this behavior.
Well, I've figured out what happens. Shell32::Folder::MoveHere works in an
asynchronous way. This means that operation returns immediately with succeed
code if all parameters are correct, however the actual work is performed
later in a separate thread. This way C++ application exits before it
actually
started the work, and html application succeeds as it's continue running.
Unfortunately, I have found no an easy way to get completion event.
After all, it must be not the easiest way to compress files from the
application. Therefore my question for now is how would I create zip from my
unmanaged application?

Signature
Vladimir Nesterovsky
e-mail: vladimir@nesterovsky-bros.com
home: http://www.nesterovsky-bros.com
Carl Daniel [VC++ MVP] - 01 Jul 2005 15:11 GMT
>> I'm having a trouble with a Shell.Folder object when I'm trying to
>> use it from a C++ application, but at the same time, the same object
[quoted text clipped - 20 lines]
> application. Therefore my question for now is how would I create zip
> from my unmanaged application?
ZLIB is your friend (it's what the shell uses under the covers).
http://www.zlib.net/
-cd