Click here to Skip to main content
15,897,518 members
Home / Discussions / COM
   

COM

 
QuestionHow do I call a dll from a com object Pin
Ger Hayden8-Jul-06 4:37
Ger Hayden8-Jul-06 4:37 
AnswerRe: How do I call a dll from a com object Pin
peterchen8-Jul-06 5:28
peterchen8-Jul-06 5:28 
QuestionFile Not found calling C# COM assembly from C++ [modified] Pin
JakeWyman8-Jul-06 1:30
JakeWyman8-Jul-06 1:30 
QuestionCom interface call retuns error "Not enough storage is available to complete this operation" Pin
george_thomas6-Jul-06 20:32
george_thomas6-Jul-06 20:32 
QuestionInstances of COM Objects Pin
HakunaMatada6-Jul-06 20:09
HakunaMatada6-Jul-06 20:09 
AnswerRe: Instances of COM Objects Pin
Lim Bio Liong6-Jul-06 22:30
Lim Bio Liong6-Jul-06 22:30 
GeneralRe: Instances of COM Objects Pin
george_thomas9-Jul-06 20:00
george_thomas9-Jul-06 20:00 
GeneralRe: Instances of COM Objects Pin
Lim Bio Liong9-Jul-06 21:01
Lim Bio Liong9-Jul-06 21:01 
Hello George,

>> Is there any way to implement the same functionality in case of SINGLETON class?
I'm not sure what you mean specifically by "the same functionality". Perhaps you can elaborate on this point. However, two or more threads -can- create and use a SINGLETON COM object, even without knowing that the COM object is a singleton. Each thread will think its object is its very own when in actual fact it is shared across threads.

However, there will be a subtle internal difference which involves the apartment of the COM object and the apartment(s) of the client threads. If the COM object is an STA object, and the first thread that created it is an STA thread, then only this thread will have direct access to the object. The other threads will receive a PROXY to this COM object.

Contact me again if you need any further clarifications Smile | :)

Best Regards,
Bio.

QuestionCalling COM from C# managed code Pin
sony alex6-Jul-06 0:47
sony alex6-Jul-06 0:47 
QuestionPassing a string from C to VB Pin
Bratis5-Jul-06 22:04
Bratis5-Jul-06 22:04 
AnswerRe: Passing a string from C to VB Pin
peterchen8-Jul-06 5:31
peterchen8-Jul-06 5:31 
Questionerror importing api Pin
nikhil_ag19855-Jul-06 20:04
nikhil_ag19855-Jul-06 20:04 
QuestionBlinking Windowless activex ATL control Pin
emilmih5-Jul-06 11:39
emilmih5-Jul-06 11:39 
QuestionOutlook integration with external address book Pin
Mithin4-Jul-06 6:40
Mithin4-Jul-06 6:40 
QuestionAutomation error while creating a vc com dll object Pin
nikhil_ag19853-Jul-06 23:02
nikhil_ag19853-Jul-06 23:02 
AnswerRe: Automation error while creating a vc com dll object Pin
nikhil_ag19854-Jul-06 2:55
nikhil_ag19854-Jul-06 2:55 
GeneralRe: Automation error while creating a vc com dll object Pin
_AnsHUMAN_ 4-Jul-06 3:32
_AnsHUMAN_ 4-Jul-06 3:32 
GeneralRe: Automation error while creating a vc com dll object Pin
nikhil_ag19855-Jul-06 20:06
nikhil_ag19855-Jul-06 20:06 
QuestionDebug ActiveX control from C# application Pin
Maddie from Dartford3-Jul-06 21:11
Maddie from Dartford3-Jul-06 21:11 
QuestionHow DCOM is implemented? Pin
jayanthkulkarni3-Jul-06 2:21
jayanthkulkarni3-Jul-06 2:21 
AnswerRe: How DCOM is implemented? Pin
Mike Dimmick3-Jul-06 3:07
Mike Dimmick3-Jul-06 3:07 
QuestionHow to register a UPnP device Pin
Le Saint2-Jul-06 1:41
Le Saint2-Jul-06 1:41 
QuestionActiveX Question, help me. Pin
Shi Zhu29-Jun-06 23:18
Shi Zhu29-Jun-06 23:18 
AnswerRe: ActiveX Question, help me. Pin
peterchen8-Jul-06 5:33
peterchen8-Jul-06 5:33 
QuestionUsing MSHTML/CHtmlView in a thread Pin
Neville Franks29-Jun-06 16:31
Neville Franks29-Jun-06 16:31 

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.