Skip to content

call managed C# dll from inside native C++ using Visual Studio

Notifications You must be signed in to change notification settings

szekelymatyas/ManagedToNativeCPP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManagedToNativeCPP

Consider calling managed methods (C#) from native C++.

An initial example is shown where a pointer to a SAFEARRAY is sent from C++ to a managed method in a C# dll.

The managed method changes the contents of the SAFEARRAY.

The C++ application is able to see these changes and can continue working with this SAFEARRAY - and its updated content.

reference: https://support.microsoft.com/en-us/kb/828736.

About

call managed C# dll from inside native C++ using Visual Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 87.0%
  • C++ 6.9%
  • C# 4.7%
  • C 1.4%