Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Mixing Managed and Unmanaged code

, 30 May 2001
C++ managed code introduced us a new string type, namely System.String. You can imagine though, that some conversion functions are needed to work with this new string type when mixing managed and unmanaged code in your project.
managed_unmanaged_src.zip
My Projects
CodeProject - Contest
StringSampleCSharp
StringSample
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StringSample", "StringSample.vcproj", "{B4027564-1051-4E88-B2D6-2D14BDBE99EE}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
	ProjectSection(SolutionConfiguration) = postProject
		Debug.ActiveCfg = Debug|Win32
		Debug.Build.0 = Debug|Win32
		Release.ActiveCfg = Release|Win32
		Release.Build.0 = Release|Win32
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StringSampleCSharp", "..\StringSampleCSharp\StringSampleCSharp.csproj", "{122490A2-70A0-4D9A-B74A-9A0484EF44D2}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
	ProjectSection(SolutionConfiguration) = postProject
		Debug.ActiveCfg = Debug|.NET
		Debug.Build.0 = Debug|.NET
		Release.ActiveCfg = Release|.NET
		Release.Build.0 = Release|.NET
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Release
		ConfigName.1 = Debug
		DoSign = FALSE
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

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

About the Author

Nick Van den Abbeele
Web Developer
Belgium Belgium
No Biography provided

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 31 May 2001
Article Copyright 2001 by Nick Van den Abbeele
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid