Click here to Skip to main content
15,927,699 members
Home / Discussions / C#
   

C#

 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes29-Apr-04 21:24
Colin Herkes29-Apr-04 21:24 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart30-Apr-04 2:57
protectorHeath Stewart30-Apr-04 2:57 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes3-May-04 0:19
Colin Herkes3-May-04 0:19 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart3-May-04 1:49
protectorHeath Stewart3-May-04 1:49 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes3-May-04 2:54
Colin Herkes3-May-04 2:54 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart3-May-04 3:18
protectorHeath Stewart3-May-04 3:18 
GeneralRe: Out of Process Server in C# Pin
leppie28-Apr-04 8:39
leppie28-Apr-04 8:39 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes29-Apr-04 21:26
Colin Herkes29-Apr-04 21:26 
Leppie,

Thanks for the reply, I had a look at your plugin manager article, tried to do the same in my situation and could not get it to run out of process.

A better description of what I am trying to do might help:

I have built a COM Callable Wrapper (CCW) using Microsoft .NET & C#. The CCW uses attributes to provide a COM interface into a .NET component. This CCW can be created in-process using standard CoCreateInstance calls. However, it is necessary that this CCW runs out-of-process replacing an original COM component built using VC++ as a COM EXE service.

I have used the SDK supplied COMREG sample instead of REGASM to register the component with an AppID indicating that it should be run with a surrogate process – the system supplied surrogate DllHost.EXE.

The CCW can then be created out of process when CoCreateInstanceEx with a local COSERVERINFO address, ie, via DCOM. However, existing clients use standard CoCreateInstance to create the CCW; however standard CoCreateInstance causes the CCW to be created in-process instead of out of process.

Is their a mechanism to force the CCW to be created out-of-process (as if created using CoCreateInstanceEx) with the standard CoCreateInstance call.

I am investigating further, any further you have to add would be greatly appreciated.

Regards
Colin
GeneralRe: Out of Process Server in C# Pin
leppie30-Apr-04 6:55
leppie30-Apr-04 6:55 
GeneralDirect X Pin
mookeroo27-Apr-04 15:37
mookeroo27-Apr-04 15:37 
GeneralRe: Direct X Pin
Heath Stewart27-Apr-04 17:11
protectorHeath Stewart27-Apr-04 17:11 
GeneralCommenting for comment web page Pin
Jon G27-Apr-04 13:14
Jon G27-Apr-04 13:14 
GeneralRe: Commenting for comment web page Pin
Jeff Varszegi27-Apr-04 14:57
professionalJeff Varszegi27-Apr-04 14:57 
GeneralRe: Commenting for comment web page Pin
Jon G28-Apr-04 0:50
Jon G28-Apr-04 0:50 
GeneralRe: Commenting for comment web page Pin
Jeff Varszegi28-Apr-04 12:30
professionalJeff Varszegi28-Apr-04 12:30 
QuestionHow detect listview's columns resize event? Pin
machocr27-Apr-04 10:52
machocr27-Apr-04 10:52 
AnswerRe: How detect listview's columns resize event? Pin
Heath Stewart27-Apr-04 12:25
protectorHeath Stewart27-Apr-04 12:25 
GeneralRe: How detect listview's columns resize event? Pin
machocr27-Apr-04 13:06
machocr27-Apr-04 13:06 
GeneralRe: How detect listview's columns resize event? Pin
Heath Stewart27-Apr-04 17:04
protectorHeath Stewart27-Apr-04 17:04 
QuestionHow take IP-address of workgroup or domain computers? Pin
FedorMatv27-Apr-04 10:42
FedorMatv27-Apr-04 10:42 
AnswerRe: How take IP-address of workgroup or domain computers? Pin
Stefan Troschuetz27-Apr-04 11:14
Stefan Troschuetz27-Apr-04 11:14 
GeneralRe: How take IP-address of workgroup or domain computers? Pin
RNEELY28-Apr-04 6:11
RNEELY28-Apr-04 6:11 
GeneralRe: How take IP-address of workgroup or domain computers? Pin
FedorMatv28-Apr-04 10:35
FedorMatv28-Apr-04 10:35 
GeneralRe: How take IP-address of workgroup or domain computers? Pin
FedorMatv28-Apr-04 10:37
FedorMatv28-Apr-04 10:37 
GeneralRe: How take IP-address of workgroup or domain computers? Pin
Stefan Troschuetz28-Apr-04 20:42
Stefan Troschuetz28-Apr-04 20:42 

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.