Git Product home page Git Product logo

clrinterop's Introduction

clrinterop

Port of https://archive.codeplex.com/?p=clrinterop

Introduction

Welcome to the CLR Interop CodePlex site, which is managed by the CLR Interop team. Our goal is to provide tools and samples that enhance your interop development experience. Please feel free to share comments or feedback with us.

Project Description: P/Invoke Interop Assistant

In marshalling there are many attributes and rules for dealing with types. Understanding all of these can be a bit daunting. To improve the development experience, the P/Invoke Interop Assistant was created. It is a tool that conveniently converts C/C++ to managed P/Invoke signatures or verse visa. It even comes with a database of Win32 functions, data types, and constants, so the common task of adding a Win32 P/Invoke to your C# or Visual Basic source file is made very easy. There is a great marshalling article on MSDN Magazine website which highlights the tool. We hope you enjoy it!

Project Description: Type Library Importer in Managed Code

Tlbimp is a command line tool which creates a managed, interop assembly from a COM type library. This is essentially the same tool that was released with versions of the .NET Framework SDK, but written entirely in managed code. Providing a managed version will enable developers to explore and extend its features. We also plan on adding new features to make it more customizable. Stay tuned for more enhancements!

Project Description: IL Stub Diagnostic Tool

IL stubs are dynamically generated on the fly by the CLR and handle the marshalling and invocation of the target method. The IL Stub Diagnostic tool was created to ease the interop debugging experience. It is a real-time monitor which shows the details of every IL stub generated by the CLR in a given process. For each stub, the tool currently displays its IL code as well as the signature of the managed/native methods. This release is supported on Windows Vista+. Further, we plan on releasing enhancements of the tool during the Visual Studio 2010 Beta period. Stay tuned!!

Project Description: CustomQueryInterface Sample - IDispatch and Aggregation

ICustomQueryInterface is a new interface that will be released in CLR v4. This feature will enable developers to provide their own managed implementation of custom and standard COM interfaces (except IUnknown). In this sample, we will show you how to construct a managed COM aggregation system in the context of a managed implementation of IDispatch with ICustomQueryInterface.

Project Description: CustomQueryInterface Sample - IMarshal on WCF

ICustomQueryInterface is a new interface that will be released in CLR v4 and we already released a sample above to demo managed aggregation and customized IDispatch. To further demo the power of CustomQueryInterface and the ability to use the .Net technology (WCF) within COM world, this sample targets the customization of IMarshal interface by using WCF.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.