Click here to Skip to main content
15,906,628 members
Articles / Programming Languages / C#

Passing Strings Between Managed and Unmanaged Code

Rate me:
Please Sign up or sign in to vote.
5.00/5 (28 votes)
7 Jul 2017CPOL6 min read 83.5K   1.1K   38  
How to pass strings between managed and unmanaged code
This article explains how to pass strings between a C# assembly and an unmanaged C++ DLL.


Daily Counts


Weekly Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
United Kingdom United Kingdom
C#/WPF/C++ Windows developer

Comments and Discussions