Click here to Skip to main content
11,704,315 members (55,350 online)
Click here to Skip to main content
Add your own
alternative version

How to Automate Exporting .NET Function to Unmanaged Programs

, 21 Nov 2006 CPOL 247.6K 3K 87
Post-build tool which can automate exporting .NET function to unmanaged programs
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;

public class ExportDllAttribute : Attribute
    public ExportDllAttribute(string exportName) : this(exportName, System.Runtime.InteropServices.CallingConvention.StdCall) { }
    public ExportDllAttribute() : this(null) { }
    public ExportDllAttribute(string exportName, System.Runtime.InteropServices.CallingConvention CallingConvention) { }

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.


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


About the Author

Systems / Hardware Administrator
Poland Poland
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150819.1 | Last Updated 22 Nov 2006
Article Copyright 2006 by Selvin
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid