-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: LovedJohnySmith
Message 2 in Discussion

Shyamaji:-    Actually, If you wanna enter the COM Callable Wrapper (CCW) to 
create a proxy that will provide access to our functions through interface 
pointers. This can be accomplished through the use of those fun little 
attribute tags  and with an interface of course.    To begin, you will need to 
include the System.Runtime.InteropServices; namespace. The first thing we will 
do is create an interface with the same name as the class prefixed with an _ 
(underscore). Within this interface we will need to include all functions we 
want to "export" from within our .NET assembly. It is important that we apply 
the InterfaceType attribute to our interface we declare; this will expose our 
interface to COM. Next, above our class declaration we will include a 
ClassInterface attribute which exposes all public methods, properties, fields, 
and events from a .NET class.   Please have a look at the following URL, which 
will help you lot regarding this. 
http://www.codeproject.com/dotnet/nettocom.asp 
Hope this helps.   Thanks,
Smith
http://spaces.msn.com/JohnySmith

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to