• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

Importing C++ dll into C#

Importing C++ dll into C#
0
narlasridhar
Asked:
narlasridhar
1 Solution
 
wwnosalCommented:
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now