Summary

I l @ ve RuBoard

This chapter showed you how to make use of unmanaged code from a J# application that executes using the common language runtime. You learned how to use P/Invoke to execute code residing in an unmanaged DLL and how to marshal data between the managed and unmanaged spaces using attributes. You also learned how to consume COM components from .NET clients , using a variety of techniques to create an RCW. Finally, you learned how to expose .NET components to COM by creating a CCW.

Although you learned how to invoke COM components from J#, the one technology notably absent from this chapter is COM+. This subject warrants a chapter of its own ”the next one.

I l @ ve RuBoard


Microsoft Visual J# .NET (Core Reference)
Microsoft Visual J# .NET (Core Reference) (Pro-Developer)
ISBN: 0735615500
EAN: 2147483647
Year: 2002
Pages: 128

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net