Click here to Skip to main content
15,883,901 members
Articles / Programming Languages / C#

NativeWrapper: A Tool for Native Interoperability

Rate me:
Please Sign up or sign in to vote.
2.84/5 (16 votes)
14 Aug 2005CPOL4 min read 96.8K   1.4K   24  
A managed wrapper for native DLLs to be used in .NET applications
// CppLib.h : main header file for the CppLib DLL
//

#pragma once

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols


// CCppLibApp
// See CppLib.cpp for the implementation of this class
//

class CCppLibApp : public CWinApp
{
public:
	CCppLibApp();

// Overrides
public:
	virtual BOOL InitInstance();

	DECLARE_MESSAGE_MAP()
};

__declspec(dllexport) void crossProduct (int  leftVector [], int  rightVector[], int resultVector []);
__declspec(dllexport) void interlaceString (char* originalString, char** interlacedString , int originalLength);

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.

License

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


Written By
Software Developer (Senior)
Italy Italy
2008 - Working on my own
2005 - ... still programming
2005 - Working at the Digigroup of Torino (Italy)
2004 - Got my PhD at the "Politecnico di Torino"
2001 - Got Graduated at the "Politecnico di Torino"
2000 - Got Graduated at the UIC (Chicago)
1983 - Started programming ...
1976 - Born

Comments and Discussions