Click here to Skip to main content
15,895,557 members
Home / Discussions / COM
   

COM

 
QuestionCOM-.NET interoperability (string - BSTR marshalling) Pin
Prasadrn9-Jun-06 1:23
Prasadrn9-Jun-06 1:23 
AnswerRe: COM-.NET interoperability (string - BSTR marshalling) Pin
Andy Moore10-Jun-06 11:45
Andy Moore10-Jun-06 11:45 
Questionuse an automation object from a service Pin
joepadmiraal8-Jun-06 23:32
joepadmiraal8-Jun-06 23:32 
QuestionProblem in using Mlang Pin
Abhinav agrawal7-Jun-06 5:42
Abhinav agrawal7-Jun-06 5:42 
AnswerRe: Problem in using Mlang Pin
Stephen Hewitt8-Jun-06 17:52
Stephen Hewitt8-Jun-06 17:52 
QuestionCOM Servers Pin
HakunaMatada7-Jun-06 2:29
HakunaMatada7-Jun-06 2:29 
AnswerRe: COM Servers Pin
Roger Stoltz7-Jun-06 11:04
Roger Stoltz7-Jun-06 11:04 
GeneralRe: COM Servers Pin
HakunaMatada7-Jun-06 17:40
HakunaMatada7-Jun-06 17:40 
Ok, First of all, thanks for your reply.

Now, let me clear your doubts. I have a client which creates and uses a COM Server. Its an InProc Server, so I assume that it runs in the same thread which created it. Am I right? With this scenario, what happens is, if something goes wrong with the server, it crashes the client too. I do not want this to happen. Also the server makes HTTP requests over the Web, so if the Internet connection is down, then the Server Sorta hangs in the middle while trying to find the connection which in turn hangs the Client.

What would be the best solution to tackle this problem? What I had thought about is, when the client creates the Server, it should automatically be created in a different thread in the same Process so that even if something goes wrong with it, then just the thread running the server can be destroyed, which I believe would not hurt the client. Is this possible? Or, Would I have to use DCOM and run the Server in a different Process? Would a DLL Server run in a separate Process or would it have to be an Exe? The COM Server is a DLL Server.

Thanks for your time.... Smile | :)

---
With best regards,
A Manchester United Fan

The Genius of a true fool is that he can mess up a foolproof plan!
GeneralRe: COM Servers Pin
Roger Stoltz7-Jun-06 22:23
Roger Stoltz7-Jun-06 22:23 
GeneralRe: COM Servers Pin
HakunaMatada7-Jun-06 22:59
HakunaMatada7-Jun-06 22:59 
AnswerRe: COM Servers Pin
Roger Stoltz8-Jun-06 0:03
Roger Stoltz8-Jun-06 0:03 
GeneralRe: COM Servers Pin
HakunaMatada8-Jun-06 1:06
HakunaMatada8-Jun-06 1:06 
AnswerRe: COM Servers Pin
Roger Stoltz8-Jun-06 2:12
Roger Stoltz8-Jun-06 2:12 
GeneralRe: COM Servers Pin
HakunaMatada8-Jun-06 17:28
HakunaMatada8-Jun-06 17:28 
GeneralRe: COM Servers [modified] Pin
Stephen Hewitt8-Jun-06 18:02
Stephen Hewitt8-Jun-06 18:02 
GeneralRe: COM Servers [modified] Pin
Roger Stoltz9-Jun-06 2:14
Roger Stoltz9-Jun-06 2:14 
GeneralRe: COM Servers Pin
Stephen Hewitt9-Jun-06 18:01
Stephen Hewitt9-Jun-06 18:01 
AnswerRe: COM Servers Pin
Aamir Butt12-Jun-06 4:07
Aamir Butt12-Jun-06 4:07 
Questioncan not put com class's entry in the registry Pin
yang__lee6-Jun-06 20:39
yang__lee6-Jun-06 20:39 
AnswerRe: can not put com class's entry in the registry Pin
Milton Karimbekallil9-Jun-06 23:33
Milton Karimbekallil9-Jun-06 23:33 
Questionconnection points and sink interface Pin
kk_mfc5-Jun-06 19:46
kk_mfc5-Jun-06 19:46 
AnswerRe: connection points and sink interface Pin
User 2155975-Jun-06 20:56
User 2155975-Jun-06 20:56 
QuestionRe: connection points and sink interface Pin
kk_mfc5-Jun-06 21:35
kk_mfc5-Jun-06 21:35 
GeneralRe: connection points and sink interface Pin
kk_mfc5-Jun-06 22:42
kk_mfc5-Jun-06 22:42 
AnswerRe: connection points and sink interface Pin
User 2155979-Jun-06 8:40
User 2155979-Jun-06 8: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.