Click here to Skip to main content
15,919,434 members
Home / Discussions / C#
   

C#

 
GeneralRe: Compound file in C# Pin
Heath Stewart24-May-04 3:27
protectorHeath Stewart24-May-04 3:27 
GeneralRe: Compound file in C# Pin
ilmian24-May-04 20:07
ilmian24-May-04 20:07 
GeneralRe: Compound file in C# Pin
Heath Stewart25-May-04 2:37
protectorHeath Stewart25-May-04 2:37 
GeneralRe: Compound file in C# Pin
Dave Kreskowiak23-May-04 4:34
mveDave Kreskowiak23-May-04 4:34 
GeneralRe: Compound file in C# Pin
Heath Stewart23-May-04 4:39
protectorHeath Stewart23-May-04 4:39 
General> C# question < Pin
Star Newb22-May-04 20:58
sussStar Newb22-May-04 20:58 
GeneralRe: > C# question < Pin
Colin Angus Mackay23-May-04 1:41
Colin Angus Mackay23-May-04 1:41 
GeneralRe: > C# question < Pin
Heath Stewart23-May-04 4:26
protectorHeath Stewart23-May-04 4:26 
MSN, for example, uses COM plugins. You could write a component in C# (gets compiled to IL in an assembly module) that exposes a COM-Callable Wrapper, or CCW. See Nick's article, Creating a CCW for COM-enabled, non-.NET Applications[^]. You register this appropriately, which is defined in the MSN Messenger SDK on the MSN Messenger web site (if you can find the SDK - they moved it some time back).

Since regasm.exe that ships with the .NET Framework SDK only registers the necessary keys and you need to register additional keys so that you can register as an MSN plugin, you'll need to read about the ComRegisterFunctionAttribute and ComUnregisterFunctionAttribute in the .NET Framework SDK.

For some applications, creating a CCW is the only way. You can also use P/Invoke to call native functions and pass them data. You could hook an application that exports the necessary hook functions as well.

There's lots of ways - provided that the application/library allows for it - and you can learn more by reading through the .NET Framework SDK, especially the section, Interoperating with Unmanaged Code[^].

 

Microsoft MVP, Visual C#
My Articles
GeneralNetwork Programming Pin
tsandl22-May-04 20:12
tsandl22-May-04 20:12 
GeneralRe: Network Programming Pin
Colin Angus Mackay23-May-04 1:48
Colin Angus Mackay23-May-04 1:48 
Generalredraw a form Pin
theDawckta22-May-04 16:22
theDawckta22-May-04 16:22 
GeneralRe: redraw a form Pin
Charlie Williams22-May-04 18:42
Charlie Williams22-May-04 18:42 
GeneralRe: redraw a form Pin
theDawckta22-May-04 19:11
theDawckta22-May-04 19:11 
GeneralRe: redraw a form Pin
Charlie Williams22-May-04 19:22
Charlie Williams22-May-04 19:22 
GeneralRe: redraw a form Pin
theDawckta22-May-04 19:33
theDawckta22-May-04 19:33 
GeneralRe: redraw a form Pin
Heath Stewart23-May-04 4:18
protectorHeath Stewart23-May-04 4:18 
GeneralRe: redraw a form Pin
theDawckta23-May-04 8:21
theDawckta23-May-04 8:21 
GeneralRe: redraw a form Pin
Dave Kreskowiak23-May-04 16:25
mveDave Kreskowiak23-May-04 16:25 
GeneralRe: redraw a form Pin
theDawckta23-May-04 8:56
theDawckta23-May-04 8:56 
GeneralRe: redraw a form Pin
theDawckta22-May-04 19:34
theDawckta22-May-04 19:34 
GeneralRe: redraw a form Pin
Dave Kreskowiak23-May-04 4:23
mveDave Kreskowiak23-May-04 4:23 
General"On screen keyboard" user control Pin
Alan Zhao22-May-04 15:21
Alan Zhao22-May-04 15:21 
GeneralRe: "On screen keyboard" user control Pin
Marc Clifton23-May-04 3:07
mvaMarc Clifton23-May-04 3:07 
GeneralRe: "On screen keyboard" user control Pin
Alan Zhao23-May-04 3:53
Alan Zhao23-May-04 3:53 
GeneralRe: "On screen keyboard" user control Pin
Heath Stewart23-May-04 4:13
protectorHeath Stewart23-May-04 4:13 

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.