Click here to Skip to main content
15,885,878 members
Articles / Programming Languages / Visual Basic

Calling Managed Code from Unmanaged Code and vice-versa

Rate me:
Please Sign up or sign in to vote.
4.30/5 (32 votes)
21 Mar 20053 min read 316.2K   4.6K   110  
This article shows you how to call managed code from unmanaged code and also the other way round.
========================================================================
    DYNAMIC LINK LIBRARY : Managed_Wrapper Project Overview
========================================================================

AppWizard has created this Managed_Wrapper DLL for you.  

This file contains a summary of what you will find in each of the files that
make up your Managed_Wrapper application.

Managed_Wrapper.vcproj
    This is the main project file for VC++ projects generated using an Application Wizard. 
    It contains information about the version of Visual C++ that generated the file, and 
    information about the platforms, configurations, and project features selected with the
    Application Wizard.

Managed_Wrapper.cpp
    This is the main DLL source file.

Managed_Wrapper.h
    This file contains a class declaration.

AssemblyInfo.cpp
	Contains custom attributes for modifying assembly metadata.

/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Tarun is a Computer Science Grad. He believes in
".......In between and after is glorious coding"

Comments and Discussions