Click here to Skip to main content
15,910,411 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PDF Output Pin
Hamid_RT30-Oct-08 1:24
Hamid_RT30-Oct-08 1:24 
QuestionHow to get String Buffers from a dll within C++ and C# Pin
MarcoNedwig28-Oct-08 12:08
MarcoNedwig28-Oct-08 12:08 
AnswerRe: How to get String Buffers from a dll within C++ and C# Pin
Mark Salsbery28-Oct-08 14:26
Mark Salsbery28-Oct-08 14:26 
GeneralRe: How to get String Buffers from a dll within C++ and C# Pin
MarcoNedwig29-Oct-08 6:46
MarcoNedwig29-Oct-08 6:46 
AnswerRe: How to get String Buffers from a dll within C++ and C# Pin
sashoalm29-Oct-08 5:34
sashoalm29-Oct-08 5:34 
Questionhow can i overwrite IDocHostUIHandler::ShowContextMenu() Pin
only_jack28-Oct-08 8:19
only_jack28-Oct-08 8:19 
AnswerRe: how can i overwrite IDocHostUIHandler::ShowContextMenu() Pin
Steve Thresher28-Oct-08 13:52
Steve Thresher28-Oct-08 13:52 
QuestionDownload "content disposition" link with COM object problem Pin
ecosoft128-Oct-08 8:08
ecosoft128-Oct-08 8:08 
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
QuestionDWM 2 Pin
Sarriss28-Oct-08 6:25
Sarriss28-Oct-08 6:25 
QuestionGetProcessID Pin
fvcker28-Oct-08 2:50
fvcker28-Oct-08 2:50 
AnswerRe: GetProcessID Pin
Roger Stoltz28-Oct-08 2:58
Roger Stoltz28-Oct-08 2:58 
GeneralRe: GetProcessID Pin
fvcker28-Oct-08 6:32
fvcker28-Oct-08 6:32 
QuestionRe: GetProcessID Pin
Roger Stoltz28-Oct-08 6:42
Roger Stoltz28-Oct-08 6:42 
AnswerRe: GetProcessID Pin
fvcker28-Oct-08 6:44
fvcker28-Oct-08 6:44 
QuestionRe: GetProcessID Pin
Roger Stoltz28-Oct-08 6:52
Roger Stoltz28-Oct-08 6:52 
AnswerRe: GetProcessID Pin
fvcker28-Oct-08 7:25
fvcker28-Oct-08 7:25 
QuestionRe: GetProcessID Pin
David Crow28-Oct-08 6:08
David Crow28-Oct-08 6:08 
AnswerRe: GetProcessID Pin
fvcker28-Oct-08 6:43
fvcker28-Oct-08 6:43 
GeneralRe: GetProcessID Pin
David Crow28-Oct-08 7:05
David Crow28-Oct-08 7:05 
AnswerRe: GetProcessID Pin
Hamid_RT28-Oct-08 19:23
Hamid_RT28-Oct-08 19:23 
QuestionShared Functions Declaration Pin
ajorge200828-Oct-08 1:34
ajorge200828-Oct-08 1:34 
QuestionRe: Shared Functions Declaration Pin
CPallini28-Oct-08 1:43
mveCPallini28-Oct-08 1:43 
AnswerRe: Shared Functions Declaration Pin
ajorge200828-Oct-08 1:51
ajorge200828-Oct-08 1:51 
QuestionRe: Shared Functions Declaration Pin
CPallini28-Oct-08 2:36
mveCPallini28-Oct-08 2:36 
AnswerRe: Shared Functions Declaration Pin
ajorge200828-Oct-08 4:22
ajorge200828-Oct-08 4:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.