Skip to main content

Advanced Unsafe or Unmanaged C++ .NET Programming

  • Chapter
Pro Visual C++/CLI and the .NET 3.5 Platform
  • 763 Accesses

Abstract

In the previous chapter, you dealt for the most part with the mixing of unsafe (or unmanaged) code directly into your safe (or managed) code. This approach only works if you have access to all the source code. Unfortunately, that is not a luxury that we developers always have. This chapter will address this issue by covering how C++/CLI interfaces with code that

  • You don’t have access to.

  • Accesses objects outside of the .NET sandbox and can’t be accessed with a .NET language.

  • Is written in a language not supported by .NET.

  • Has a perfectly acceptable non-.NET implementation; rewriting would be a waste of time, money, and/or resources.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Stephen R. G. Fraser

About this chapter

Cite this chapter

(2009). Advanced Unsafe or Unmanaged C++ .NET Programming. In: Pro Visual C++/CLI and the .NET 3.5 Platform. Apress. https://doi.org/10.1007/978-1-4302-1054-2_23

Download citation

Publish with us

Policies and ethics