Importing C++ dll into C#

Importing C++ dll into C#
narlasridharAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
wwnosalConnect With a Mentor Commented:
How about this:
[DllImport("kernel32.dll")]
    static extern IntPtr HeapCreate(uint flOptions, UIntPtr dwInitialSize,UIntPtr dwMaximumSize);
 
    [DllImport("kernel32.dll")]
    static extern bool HeapDestroy(IntPtr hHeap);

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.