Hello,
I wrote a COM object (for WinMobile 6) that handles the download of specific mime types and extensions, using IPersistMoniker and IBindStatusCallback interfaces implementations.
I've registered the CLSID and the mime types and extensions I need.
Download of direct links works great, the problem starts when trying to download a link with content disposition attachment in its header - my DLL is being loaded, and IUnknown and IPersistMoniker interfaces are being requested as they should - but release right after the QueryInterface.
I've noticed that those links (with the content disposition) ignore the mime type registration and follow only the extension regstration (with CLSID or ProgID). Also, if I edit the extension key to run some EXE file (even iexplore) instead of my DLL - it works well.
How should I handle links with content disposition?
Thanks,
Keren