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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.