Click here to Skip to main content
16,006,902 members
Home / Discussions / C#
   

C#

 
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 
Generaladding components to the designer by code Pin
Roger Alsing12-Oct-03 2:40
Roger Alsing12-Oct-03 2:40 
GeneralRe: adding components to the designer by code Pin
Rod O12-Oct-03 5:03
Rod O12-Oct-03 5:03 
GeneralRe: adding components to the designer by code Pin
Roger Alsing12-Oct-03 22:10
Roger Alsing12-Oct-03 22:10 
GeneralCOM+ Pin
devvvy12-Oct-03 1:20
devvvy12-Oct-03 1:20 
Is it true that all serviced component must be registered in COM+ catalog? According to the book I'm reading right now, the answer is no. Any class derived from ServicedComponent is a COM+ component - the resulting class library dll is the COM+ application. The dll doesn't has to be installed in GAC or get registered in COM+ Catalog.

To use .NET assembly from COM client, you need to create CCW and use regasm.exe to have it registered in the registry. But, this allows your assembly to be consumed by COM/unmanaged client. You still can't use COM+ attributes or configure the compoent using "COM+ Administration Tools (MMC snap-in) - therefore, a COM+ component is MORE than just a .NET assembly wrapped in CCW.

A COM+ component must:
1. derive from ServicedComponent
2. register in COM+ Catalog, using regsvcs.exe (Which install dll into GAC - meaning you need to first assign a key file)

Your component is then a COM+ serviced component, meaning:
1. you can apply COM+ attributes (like object pooling or JIT..etc)
2. Configure the component using COM+ Administration Tool (MMC snap in).

Is my understanding correct?


norm
GeneralMicrothreads Pin
bjoernen12-Oct-03 0:58
bjoernen12-Oct-03 0:58 
GeneralRe: Microthreads Pin
Blake Coverett12-Oct-03 3:01
Blake Coverett12-Oct-03 3:01 
GeneralRe: Microthreads Pin
Bo Hunter12-Oct-03 7:05
Bo Hunter12-Oct-03 7:05 
GeneralRe: Microthreads Pin
bjoernen12-Oct-03 8:13
bjoernen12-Oct-03 8:13 
GeneralCOM+ and remoting Pin
devvvy11-Oct-03 23:31
devvvy11-Oct-03 23:31 
GeneralProblems with decrypting Pin
Wjousts11-Oct-03 18:08
Wjousts11-Oct-03 18:08 
GeneralBooks on C# Threading... Pin
eggie511-Oct-03 14:46
eggie511-Oct-03 14:46 
GeneralRe: Books on C# Threading... Pin
David Stone11-Oct-03 18:37
sitebuilderDavid Stone11-Oct-03 18:37 
GeneralRe: Books on C# Threading... Pin
Nick Parker12-Oct-03 11:10
protectorNick Parker12-Oct-03 11:10 
GeneralRemote events that instantiate and show new Forms Pin
jerrycainjr11-Oct-03 14:04
jerrycainjr11-Oct-03 14:04 
General3Tier applications and database replicating using C# Pin
DanFreddy11-Oct-03 11:57
DanFreddy11-Oct-03 11:57 
GeneralSerializing and Events Pin
jparsons11-Oct-03 9:49
jparsons11-Oct-03 9:49 
GeneralRe: Serializing and Events Pin
leppie11-Oct-03 23:22
leppie11-Oct-03 23:22 
GeneralRe: Serializing and Events Pin
jparsons12-Oct-03 13:31
jparsons12-Oct-03 13:31 
GeneralTypeInitializationException and Windows Service Pin
devvvy11-Oct-03 9:28
devvvy11-Oct-03 9:28 
GeneralGenerating public and private keys... Pin
Meysam Mahfouzi11-Oct-03 7:24
Meysam Mahfouzi11-Oct-03 7:24 
GeneralRe: Generating public and private keys... Pin
Blake Coverett11-Oct-03 10:17
Blake Coverett11-Oct-03 10:17 

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.