Click here to Skip to main content
15,878,959 members
Articles / Programming Languages / C++/CLI

Managing the Unmanaged Code

Rate me:
Please Sign up or sign in to vote.
4.67/5 (16 votes)
1 Apr 2009CPOL5 min read 54K   724   38  
Managed C++ wrapper to a native C++ library
#include "stdafx.h"

using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;

//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly:AssemblyTitleAttribute("ManagedWrapperSample")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("")];
[assembly:AssemblyProductAttribute("ManagedWrapperSample")];
[assembly:AssemblyCopyrightAttribute("Copyright (c)  2009")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];

//
// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the value or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly:AssemblyVersionAttribute("1.0.*")];

[assembly:ComVisible(false)];

[assembly:CLSCompliantAttribute(true)];

[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) GAVS Technologies
India India
Bala Rajesh is a senior developer, working for GAVS technologies, India. His expertise is in .NET framework, which includes C#,ASP.NET, ASP .NET MVC 3/4, Mobile applications, WCF, WPF Silverlight, Web Services, Windows services, XML, SQl Server.

Comments and Discussions