Why Platform Invoke Interop?
First, you need to preserve your investment. It is a little hard to see in the simple examples in Listings 7.1–7.4, but many companies invest considerable time and money into software. It would be impractical to suggest to management that you want to spend X amount of time porting existing software to a new platform that will have no new features that a customer can see. In some cases, the functionality of the existing software might be so involved and complex that porting it to another language would be the equivalent of rewriting it. The “bean counters” see this as an investment of time and money that has at best no return on investment, and at worst, a negative return. For the most part, the bean counters are right. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access