Click here to Skip to main content
15,912,329 members
Home / Discussions / COM
   

COM

 
QuestionIStream::Write() returns success code S_OK but still doesn't write anything... Pin
ShyamR21-Jan-09 2:25
ShyamR21-Jan-09 2:25 
AnswerRe: IStream::Write() returns success code S_OK but still doesn't write anything... Pin
Jonathan Davies21-Jan-09 3:24
Jonathan Davies21-Jan-09 3:24 
QuestionCOM event handlers stub in C++ Pin
Panduranga Chary20-Jan-09 0:39
Panduranga Chary20-Jan-09 0:39 
AnswerRe: COM event handlers stub in C++ Pin
KarstenK20-Jan-09 0:51
mveKarstenK20-Jan-09 0:51 
QuestionHow To pass structure or complex data in IDispatch using invoke() method [modified] Pin
Thomas_Mathews19-Jan-09 19:32
Thomas_Mathews19-Jan-09 19:32 
AnswerRe: How To pass structure or complex data in IDispatch using invoke() method Pin
Jonathan Davies29-Jan-09 0:07
Jonathan Davies29-Jan-09 0:07 
AnswerRe: How To pass structure or complex data in IDispatch using invoke() method Pin
guestcat29-Jan-09 5:31
guestcat29-Jan-09 5:31 
QuestionAccess a .Net COM object hosted in a COM+ Server in .Net? Pin
huckfinn18-Jan-09 22:50
huckfinn18-Jan-09 22:50 
Hi,

I have a COM component written in .Net and hosted in a COM+ server application so that only 1 instance of the component will exist on a box at a given time. Multiple different applications will be accessing the COM component: Matlab, VB Script, .Net application, etc...

When the COM component is instantiated from VB Script or Matlab, I can see the COM+ server starting properly and can verify that only 1 instance of my object is created.

My problem arises when the COM component consumer is a .Net application. Basically, it seems .Net always resolves the location of the DLL and since it is a .Net DLL, always instantiate the object directly, skipping the COM+ mechanism. It seems obvious why .Net behaves that way to get rid of COM overhead, but this is causing problems in my design since I want only 1 instance of my COM Component to exist on a box at one time.

So the question is how can I instantiate a .Net based COM component hosted in a COM+ server application from a .Net application by using the COM+ mechanism?

Thanks
QuestionCustom Tool Setup Projects? Pin
GibbleCH15-Jan-09 9:06
GibbleCH15-Jan-09 9:06 
QuestionMFC ActiveX Control derived from Static Control Pin
Member 319657814-Jan-09 23:00
Member 319657814-Jan-09 23:00 
AnswerRe: MFC ActiveX Control derived from Static Control Pin
KarstenK14-Jan-09 23:10
mveKarstenK14-Jan-09 23:10 
GeneralRe: MFC ActiveX Control derived from Static Control Pin
Member 319657814-Jan-09 23:29
Member 319657814-Jan-09 23:29 
AnswerRe: MFC ActiveX Control derived from Static Control Pin
«_Superman_»15-Jan-09 18:38
professional«_Superman_»15-Jan-09 18:38 
QuestionPowerPoint Event system is behaving strangely. Pin
TClarke12-Jan-09 1:24
TClarke12-Jan-09 1:24 
QuestionHow to share the SSL conncetion made by myself in IE Pin
maoxintt9-Jan-09 15:30
maoxintt9-Jan-09 15:30 
AnswerRe: How to share the SSL conncetion made by myself in IE Pin
Garth J Lancaster9-Jan-09 16:59
professionalGarth J Lancaster9-Jan-09 16:59 
GeneralRe: How to share the SSL conncetion made by myself in IE Pin
maoxintt9-Jan-09 18:38
maoxintt9-Jan-09 18:38 
GeneralRe: How to share the SSL conncetion made by myself in IE Pin
Garth J Lancaster9-Jan-09 20:50
professionalGarth J Lancaster9-Jan-09 20:50 
GeneralRe: How to share the SSL conncetion made by myself in IE Pin
maoxintt9-Jan-09 22:27
maoxintt9-Jan-09 22:27 
QuestionExcel automation highlight issue Pin
TClarke8-Jan-09 23:55
TClarke8-Jan-09 23:55 
AnswerRe: Excel automation highlight issue Pin
Garth J Lancaster9-Jan-09 0:34
professionalGarth J Lancaster9-Jan-09 0:34 
GeneralRe: Excel automation highlight issue Pin
TClarke9-Jan-09 1:31
TClarke9-Jan-09 1:31 
QuestionGive Permission foe ActiveX control Pin
hemant.kaushal8-Jan-09 19:57
hemant.kaushal8-Jan-09 19:57 
AnswerRe: Give Permission foe ActiveX control Pin
prasad_som28-Jan-09 23:30
prasad_som28-Jan-09 23:30 
Questionhow to create a COM wrapper around the C# class Pin
Dattatraya K6-Jan-09 21:40
Dattatraya K6-Jan-09 21:40 

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.