Chapter 7. Leveraging Existing Code—P/Invoke

In This Chapter

A quote by Albert Einstein is a good way to start this chapter: “Keep it simple, but not too simple.” In other words, the material should be simple but sufficiently complete to answer the problem. In recent software history, major languages acknowledge their dependency on “legacy” software (“legacy” would refer to the way software was developed before a particular language was introduced) through some method of interoperation. With C++, you called on 'C' functions by specifying the function as extern "C". Java used JNI. Even most flavors of ...

Get .NET Common Language Runtime Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.