Click here to Skip to main content
15,908,909 members
Home / Discussions / COM
   

COM

 
QuestionHow to convert OUT char* to OUT BSTR*? Pin
Anonymous15-Apr-04 12:34
Anonymous15-Apr-04 12:34 
AnswerRe: How to convert OUT char* to OUT BSTR*? Pin
Anonymous15-Apr-04 19:25
Anonymous15-Apr-04 19:25 
Generalwriting data to the opc server Pin
Anonymous15-Apr-04 1:23
Anonymous15-Apr-04 1:23 
Generalcopying a COM object Pin
Shielsy1014-Apr-04 4:07
Shielsy1014-Apr-04 4:07 
GeneralRe: copying a COM object Pin
Mike Dimmick14-Apr-04 4:56
Mike Dimmick14-Apr-04 4:56 
GeneralHelp on getting OpenOffice on the web Pin
locktotten14-Apr-04 0:36
locktotten14-Apr-04 0:36 
QuestionIScriptControlPtr bad multithreaded behaviour? Pin
humps13-Apr-04 11:11
humps13-Apr-04 11:11 
AnswerRe: IScriptControlPtr bad multithreaded behaviour? Pin
Mike Dimmick13-Apr-04 23:39
Mike Dimmick13-Apr-04 23:39 
The msscript.ocx control is registered with the Apartment threading model. This means it has affinity with the thread on which it is created - COM will force calls from a different thread onto the thread which created the object.

If you want to use multiple script controls concurrently, you should create them on the threads which will call their methods.

I'm not sure, but I think using COINIT_MULTITHREADED with an Apartment object will cause you to get a proxy to the object even though you're calling an object on the same thread.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: IScriptControlPtr bad multithreaded behaviour? Pin
humps14-Apr-04 20:20
humps14-Apr-04 20:20 
GeneralRe: IScriptControlPtr bad multithreaded behaviour? Pin
Mike Dimmick15-Apr-04 1:50
Mike Dimmick15-Apr-04 1:50 
GeneralRe: IScriptControlPtr bad multithreaded behaviour? Pin
humps15-Apr-04 20:41
humps15-Apr-04 20:41 
GeneralIHttpNegotiate Pin
TimWallace12-Apr-04 5:24
TimWallace12-Apr-04 5:24 
Generalscreen saver Pin
amir_iiui12-Apr-04 1:55
amir_iiui12-Apr-04 1:55 
Generalabout filing Pin
amir_iiui12-Apr-04 1:52
amir_iiui12-Apr-04 1:52 
QuestionHow Calling Com Function Via javascript or VB script Pin
Anonymous11-Apr-04 18:47
Anonymous11-Apr-04 18:47 
AnswerRe: How Calling Com Function Via javascript or VB script Pin
Milton Karimbekallil11-Apr-04 22:57
Milton Karimbekallil11-Apr-04 22:57 
QuestionHow can I add a function to COM? Pin
ilavl11-Apr-04 17:11
ilavl11-Apr-04 17:11 
GeneralOutlook security bypass question. Pin
Brigsoft10-Apr-04 7:41
Brigsoft10-Apr-04 7:41 
GeneralRe: Outlook security bypass question. Pin
Milton Karimbekallil11-Apr-04 23:54
Milton Karimbekallil11-Apr-04 23:54 
GeneralCalling Com Function Via javascript or VB script Pin
Anonymous9-Apr-04 18:12
Anonymous9-Apr-04 18:12 
GeneralRe: Calling Com Function Via javascript or VB script Pin
Milton Karimbekallil11-Apr-04 21:12
Milton Karimbekallil11-Apr-04 21:12 
GeneralHWND problem with list control Pin
krugger8-Apr-04 21:44
krugger8-Apr-04 21:44 
QuestionHow can I use a COM? Pin
ilavl8-Apr-04 15:14
ilavl8-Apr-04 15:14 
AnswerRe: How can I use a COM? Pin
Renjith Ramachandran11-Apr-04 2:01
Renjith Ramachandran11-Apr-04 2:01 
GeneralRe: How can I use a COM? Pin
ilavl11-Apr-04 20:36
ilavl11-Apr-04 20:36 

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.