Click here to Skip to main content
15,920,513 members
Home / Discussions / C#
   

C#

 
Question(midi && C#) == false ? Pin
gonenb12-Oct-03 22:35
gonenb12-Oct-03 22:35 
AnswerRe: (midi && C#) == false ? Pin
WillemM12-Oct-03 23:15
WillemM12-Oct-03 23:15 
GeneralRe: (midi && C#) == false ? Pin
gonenb13-Oct-03 2:49
gonenb13-Oct-03 2:49 
Generalfilling dataset - speed Pin
brain2cpu12-Oct-03 21:17
professionalbrain2cpu12-Oct-03 21:17 
GeneralRe: filling dataset - speed Pin
WillemM12-Oct-03 23:17
WillemM12-Oct-03 23:17 
GeneralWebBrowser class Pin
Srikar Y12-Oct-03 19:11
Srikar Y12-Oct-03 19:11 
GeneralRe: WebBrowser class Pin
Kannan Kalyanaraman13-Oct-03 0:36
Kannan Kalyanaraman13-Oct-03 0:36 
GeneralCOM+ and remoting: Lifetime Pin
devvvy12-Oct-03 19:04
devvvy12-Oct-03 19:04 
COM+ and remoting

Hi, I'm trying to expose COM+ component via remoting, it works just fine - it seems. But I'm confused by how COM+/Remoting works together.

Remoting - lifetime depends on whether the object is published as SAO(singleton/singlecall), CAO and lifetime services.

In COM+, lifetime of server objects (COM+ application/component) depends on object pooling and whether JIT is enabled. My understanding is that if a COM+ app is published via remoting, than activation option must be "server". I am a little confused at how/what determines an object's life time in this situation.

For instance, how can you have SAO/Singlecall and COM+ Object Pooling at the same time?


Following are nine possible scenario:

COM+ JIT enabled/Pooling disabled + CAO
COM+ JIT enabled/Pooling enabled + CAO
COM+ JIT disabled/Pooling disabled + CAO

COM+ JIT enabled/Pooling disabled + SAO/Singlecall
COM+ JIT enabled/Pooling enabled + SAO/Singlecall
COM+ JIT disabled/Pooling disabled + SAO/Singlecall

COM+ JIT enabled/Pooling disabled + SAO/Singleton
COM+ JIT enabled/Pooling enabled + SAO/Singleton
COM+ JIT disabled/Pooling disabled + SAO/Singleton

Any idea? Thanks!


norm
GeneralLaunching GUI from Windows Service Pin
devvvy12-Oct-03 18:58
devvvy12-Oct-03 18:58 
GeneralRe: Launching GUI from Windows Service Pin
Randhir Sinha12-Oct-03 21:52
Randhir Sinha12-Oct-03 21:52 
GeneralHighliting text Pin
Srikar Y12-Oct-03 18:31
Srikar Y12-Oct-03 18:31 
Questionhow to catch exception throw inside in worker thread? Pin
zecodela12-Oct-03 16:31
zecodela12-Oct-03 16:31 
AnswerRe: how to catch exception throw inside in worker thread? Pin
Randhir Sinha12-Oct-03 22:04
Randhir Sinha12-Oct-03 22:04 
GeneralRe: how to catch exception throw inside in worker thread? Pin
zecodela12-Oct-03 22:19
zecodela12-Oct-03 22:19 
GeneralRunning forms on seperate thead Pin
SharpKnight12-Oct-03 11:34
SharpKnight12-Oct-03 11:34 
GeneralRe: Running forms on seperate thead Pin
12-Oct-03 21:33
suss12-Oct-03 21:33 
GeneralPInvoke CreateProcess Pin
devvvy12-Oct-03 9:31
devvvy12-Oct-03 9:31 
GeneralRe: PInvoke CreateProcess Pin
devvvy12-Oct-03 9:54
devvvy12-Oct-03 9:54 
GeneralRe: PInvoke CreateProcess Pin
J. Dunlap12-Oct-03 9:57
J. Dunlap12-Oct-03 9:57 
GeneralRe: PInvoke CreateProcess Pin
devvvy12-Oct-03 10:00
devvvy12-Oct-03 10:00 
GeneralPInvoke CWnd Pin
devvvy12-Oct-03 10:24
devvvy12-Oct-03 10:24 
GeneralRe: PInvoke CWnd Pin
J. Dunlap12-Oct-03 10:48
J. Dunlap12-Oct-03 10:48 
GeneralRe: PInvoke CWnd Pin
devvvy12-Oct-03 10:52
devvvy12-Oct-03 10:52 
GeneralRe: PInvoke CWnd Pin
Nick Parker12-Oct-03 11:00
protectorNick Parker12-Oct-03 11:00 
GeneralRe: PInvoke CWnd Pin
devvvy12-Oct-03 11:06
devvvy12-Oct-03 11:06 

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.