Click here to Skip to main content
15,887,485 members
Home / Discussions / COM
   

COM

 
AnswerRe: Need help to return string value from COM Pin
Milton Karimbekallil20-Jun-06 3:12
Milton Karimbekallil20-Jun-06 3:12 
QuestionProperty Set of MsWord doc files. Pin
Shivaji Patil19-Jun-06 3:46
professionalShivaji Patil19-Jun-06 3:46 
Questionhow to use DTS in vb.net Pin
saneng18-Jun-06 4:22
saneng18-Jun-06 4:22 
QuestionPassing Arrays Of Structs Over Automation-Capable Interfaces... Pin
James R. Twine16-Jun-06 18:27
James R. Twine16-Jun-06 18:27 
AnswerRe: Passing Arrays Of Structs Over Automation-Capable Interfaces... Pin
Aamir Butt18-Jun-06 23:36
Aamir Butt18-Jun-06 23:36 
GeneralRe: Passing Arrays Of Structs Over Automation-Capable Interfaces... Pin
Lim Bio Liong19-Jun-06 14:50
Lim Bio Liong19-Jun-06 14:50 
AnswerRe: Passing Arrays Of Structs Over Automation-Capable Interfaces... Pin
Lim Bio Liong19-Jun-06 14:49
Lim Bio Liong19-Jun-06 14:49 
QuestionQuestion about CoRegisterClassObject Pin
Paulino De Assis Fong16-Jun-06 11:35
Paulino De Assis Fong16-Jun-06 11:35 
Before asking questions about CoRegisterClassObject, I want to give an idea of what I am trying to do. The purpose of my project is to capture all XMLHTTPRequest calls from Internet Explorer through an external application (the application I am developing) and record the data sent and responseText for debugging purpose. With some ideas from the MSDN forum, I built my class object which implements IClassFactory and IXMLHTTPRequest and I used CoRegisterClassObject to register and associate CLSID_XMLHTTP with my own object. (the CLSID of class XMLHTTP which implements IXMLHTTPRequest and any script in IE making XMLHTTPRequest should go through this class). However, the CreateInstance of IClassFactory I inherited never got call when the AJAX web application is obviously making XMLHTTPRequest.

I read an article saying that CoRegisterClassObject is only effective if it is in the same apartment of the thread making calls to the class object you are overriding. Here is the link:

http://66.102.7.104/search?q=cache:6BaNPZeQ3e4J:discuss.microsoft.com/SCRIPTS/WA-MSD.EXE%3FA2%3Dind9911a%26L%3Ddcom%26T%3D0%26P%3D13080+CoRegisterClassObject+override&hl=en&gl=us&ct=clnk&cd=3[^]

Is it the cause of not working? What apartment is Internet Explorer and is it feasible to execute CoRegisterClassObject in every apartment IE is in? Please advice.Thanks

Paulino
QuestionExcel and .Net2.0 Pin
Vizmunt15-Jun-06 11:49
Vizmunt15-Jun-06 11:49 
Questionhow to use IMultiMediastream ::GetDuration() Pin
GANsJob15-Jun-06 1:19
GANsJob15-Jun-06 1:19 
AnswerRe: how to use IMultiMediastream ::GetDuration() Pin
Aamir Butt18-Jun-06 23:51
Aamir Butt18-Jun-06 23:51 
GeneralRe: how to use IMultiMediastream ::GetDuration() Pin
GANsJob19-Jun-06 21:56
GANsJob19-Jun-06 21:56 
QuestionCom DCOM on Win 2003 Pin
Goodway13-Jun-06 5:57
Goodway13-Jun-06 5:57 
AnswerRe: Com DCOM on Win 2003 Pin
Aamir Butt14-Jun-06 1:27
Aamir Butt14-Jun-06 1:27 
QuestionBrowser Helper Object, problem with SHDocVw.DWebBrowserEvents2_Event.DocumentComplete [modified] Pin
klepa11235813-Jun-06 5:04
klepa11235813-Jun-06 5:04 
QuestionHow to get a HBITMAP? Pin
athomass13-Jun-06 4:52
athomass13-Jun-06 4:52 
AnswerRe: How to get a HBITMAP? Pin
Laxman Auti13-Jun-06 21:58
Laxman Auti13-Jun-06 21:58 
GeneralRe: How to get a HBITMAP? Pin
athomass14-Jun-06 2:09
athomass14-Jun-06 2:09 
AnswerRe: How to get a HBITMAP? Pin
Laxman Auti14-Jun-06 3:41
Laxman Auti14-Jun-06 3:41 
QuestionWMI Pin
abhiramsss12-Jun-06 21:07
abhiramsss12-Jun-06 21:07 
QuestionHow to embed external document? Pin
Super Lloyd12-Jun-06 19:55
Super Lloyd12-Jun-06 19:55 
AnswerRe: How to embed external document? Pin
Aamir Butt14-Jun-06 1:16
Aamir Butt14-Jun-06 1:16 
GeneralRe: How to embed external document? Pin
Super Lloyd14-Jun-06 1:53
Super Lloyd14-Jun-06 1:53 
QuestionServer busy message box Pin
Rinu_Raj11-Jun-06 23:43
Rinu_Raj11-Jun-06 23:43 
Generalusing com object of photoshop Pin
santhoshkumar_pv9-Jun-06 20:25
santhoshkumar_pv9-Jun-06 20:25 

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.