Click here to Skip to main content
15,898,938 members
Home / Discussions / COM
   

COM

 
GeneralRe: Recommended Book on COM :: C++ Pin
Renjith Ramachandran19-Oct-02 20:38
Renjith Ramachandran19-Oct-02 20:38 
GeneralRe: Recommended Book on COM :: C++ Pin
Stephane Rodriguez.19-Oct-02 21:05
Stephane Rodriguez.19-Oct-02 21:05 
GeneralRe: Recommended Book on COM :: C++ Pin
valikac20-Oct-02 5:51
valikac20-Oct-02 5:51 
GeneralRe: Recommended Book on COM :: C++ Pin
valikac22-Oct-02 13:38
valikac22-Oct-02 13:38 
GeneralRe: Recommended Book on COM :: C++ Pin
Ranjan Banerji23-Oct-02 6:28
Ranjan Banerji23-Oct-02 6:28 
GeneralRetrieve exchange user information Pin
Anonymous19-Oct-02 1:56
Anonymous19-Oct-02 1:56 
GeneralRe: Retrieve exchange user information Pin
Stephane Rodriguez.21-Oct-02 1:49
Stephane Rodriguez.21-Oct-02 1:49 
Generalres: protocol and IMoniker Pin
mstephens17-Oct-02 22:47
mstephens17-Oct-02 22:47 
Has had any experience with using IMoniker to open files stored in dll's or exe's using the res: protocol.

I have written code that uses CreateURLMoniker() and then IMoniker::BindToStorage() to open files and read their content via IStream. This works fine for file:, http:, ftp: protocols but fails when using the res: protocol which unfortunately is the protocol i am particularly interested in!

I don't understand how IE does it since i can use CreateURLMoniker() and then pass the moniker to ShowHTMLDialog() and IE is happy to read the file. If I step through the code then my IBindStatusCallback::OnProgress() gets called with BINDSTATUS_MIMETYPEAVAILABLE and after the MIME type string 'text/html' in the szStatusText parameter is the text of the file i want to load but i don't get a good IStream* back from IMoniker::BindToStorage().

My original code used URLOpenBlockingStream() which suffers from the same problem when accessing res: resources.

Please help!
GeneralRe: res: protocol and IMoniker Pin
Stephane Rodriguez.21-Oct-02 1:51
Stephane Rodriguez.21-Oct-02 1:51 
GeneralRe: res: protocol and IMoniker Pin
mstephens21-Oct-02 2:03
mstephens21-Oct-02 2:03 
GeneralGetActiveObject() failing... Pin
17-Oct-02 11:12
suss17-Oct-02 11:12 
GeneralRe: GetActiveObject() failing... Pin
Jason Henderson18-Oct-02 3:14
Jason Henderson18-Oct-02 3:14 
GeneralRe: GetActiveObject() failing... Pin
Member 1035854718-Oct-02 3:18
Member 1035854718-Oct-02 3:18 
GeneralNeed help for IDispatch. Pin
sonshiro17-Oct-02 0:43
sonshiro17-Oct-02 0:43 
GeneralRe: Need help for IDispatch. Pin
Stephane Rodriguez.17-Oct-02 1:27
Stephane Rodriguez.17-Oct-02 1:27 
QuestionDCOM server enum clients? Pin
Jason Henderson16-Oct-02 11:17
Jason Henderson16-Oct-02 11:17 
AnswerRe: DCOM server enum clients? Pin
Brian van der Beek21-Oct-02 1:33
Brian van der Beek21-Oct-02 1:33 
GeneralThreading lockup Pin
Robin Cornelius16-Oct-02 9:25
Robin Cornelius16-Oct-02 9:25 
GeneralRe: Threading lockup Pin
Daniel Turini16-Oct-02 9:36
Daniel Turini16-Oct-02 9:36 
GeneralRe: Threading lockup Pin
Robin Cornelius16-Oct-02 11:21
Robin Cornelius16-Oct-02 11:21 
GeneralCOM Licensing Pin
Heath Stewart16-Oct-02 7:44
protectorHeath Stewart16-Oct-02 7:44 
Generaldo i need a buffered mouse for this.. Pin
lupus15-Oct-02 14:59
lupus15-Oct-02 14:59 
GeneralCComPtr.CoCreateInstance hangs Pin
tomc15-Oct-02 3:48
tomc15-Oct-02 3:48 
GeneralRe: CComPtr.CoCreateInstance hangs Pin
Stephane Rodriguez.15-Oct-02 4:34
Stephane Rodriguez.15-Oct-02 4:34 
QuestionWhere can I find the OLE for Retail POS(OPOS) sample codes? Pin
julio huang15-Oct-02 1:46
julio huang15-Oct-02 1:46 

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.